(args)
Call function that sets firewall rules

    Handles the firewall subcommand
Call function that sets firewall rules
Call function that sets firewall rules
def firewall_subcommand(args):
    """Call function that sets firewall rules

    Handles the firewall subcommand

    """
    user_info = config.read_cfg_file(args.cfg, args.cfg_dir)

    if (user_info is None):
        return

    configure([args.interface],
              defs.src_ports,
              user_info['sat']['ip'],
              igmp=args.standalone,
              prompt=(not args.yes),
              dry=args.dry_run)
def firewall_subcommand ( args ) : user_info = config . read_cfg_file ( args . cfg , args . cfg_dir ) if ( user_info is None ) : return configure ( [ args . interface ] , defs . src_ports , user_info [ 'sat' ] [ 'ip' ] , igmp = args . standalone , prompt = ( not args . yes ) , dry = args . dry_run )