(table, chain, policy='ACCEPT', ipv6=False)
Set the default policy of chain in a table
Set the default policy of chain in a table
Set the default policy of chain in a table
def set_policy(table, chain, policy='ACCEPT', ipv6=False):
    """ Set the default policy of chain in a table """
    iptc_chain = _iptc_getchain(table, chain, ipv6)
    iptc_chain.set_policy(policy)
def set_policy ( table , chain , policy = 'ACCEPT' , ipv6 = False ) : iptc_chain = _iptc_getchain ( table , chain , ipv6 ) iptc_chain . set_policy ( policy )