Function iptables::new[][src]

pub fn new(is_ipv6: bool) -> Result<IPTables, Box<dyn Error>>

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