summaryrefslogtreecommitdiff
path: root/src/conf_mode/nat.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/nat.py')
-rwxr-xr-xsrc/conf_mode/nat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/nat.py b/src/conf_mode/nat.py
index 4d739068f..13edca846 100755
--- a/src/conf_mode/nat.py
+++ b/src/conf_mode/nat.py
@@ -94,7 +94,7 @@ def parse_source_destination(conf, source_dest):
'description': '',
'dest_address': '',
'dest_port': '',
- 'disable': False,
+ 'disabled': False,
'exclude': False,
'interface_in': '',
'interface_out': '',
@@ -118,7 +118,7 @@ def parse_source_destination(conf, source_dest):
rule['dest_port'] = conf.return_value(['destination', 'port'])
if conf.exists(['disable']):
- rule['disable'] = True
+ rule['disabled'] = True
if conf.exists(['exclude']):
rule['exclude'] = True