Passing family in get_saved_rules to _parse_conf correctly.
This commit is contained in:
Christoph Glaubitz 2015-11-11 21:02:11 +01:00
parent 8f1d0b636e
commit ba6d814553

View file

@ -430,7 +430,7 @@ def get_saved_rules(conf_file=None, family='ipv4'):
IPv6:
salt '*' iptables.get_saved_rules family=ipv6
'''
return _parse_conf(conf_file, family)
return _parse_conf(conf_file=conf_file, family=family)
def get_rules(family='ipv4'):