summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-15 23:41:29 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-16 18:25:58 +0200
commite89f19c5bb0f7aa611cb4a8ac435b99127eee6db (patch)
tree040bfe4c74e19fd9d3bcdbca8d002e4ec5bf1e32 /src
parent8062afa8a5beb73464e911cf7c5ca66f58585d0b (diff)
downloadvyos-1x-e89f19c5bb0f7aa611cb4a8ac435b99127eee6db.tar.gz
vyos-1x-e89f19c5bb0f7aa611cb4a8ac435b99127eee6db.zip
nat: T2198: set default protocol to all to be backwards compatible
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/nat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/nat.py b/src/conf_mode/nat.py
index 13edca846..ebac6bfc0 100755
--- a/src/conf_mode/nat.py
+++ b/src/conf_mode/nat.py
@@ -99,7 +99,7 @@ def parse_source_destination(conf, source_dest):
'interface_in': '',
'interface_out': '',
'log': False,
- 'protocol': '',
+ 'protocol': 'all',
'number': number,
'source_address': '',
'source_port': '',