(table, chain, ipv6=False)
return iptc_chain.get_policy().name
Return the default policy of chain in a table
Return the default policy of chain in a table
Return the default policy of chain in a table
def get_policy(table, chain, ipv6=False):
    """ Return the default policy of chain in a table """
    iptc_chain = _iptc_getchain(table, chain, ipv6)
    return iptc_chain.get_policy().name
def get_policy ( table , chain , ipv6 = False ) : iptc_chain = _iptc_getchain ( table , chain , ipv6 ) return iptc_chain . get_policy ( ) . name