Function iptables::new [] [src]

pub fn new(is_ipv6: bool) -> IPTResult<IPTables>

Creates a new IPTables Result with the command of 'iptables' if is_ipv6 is false, otherwise the command is 'ip6tables'.