summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-02 20:43:01 +0100
committerGitHub <noreply@github.com>2021-02-02 20:43:01 +0100
commit22c5f86dbe183f92636aa1b140aa062e35508760 (patch)
tree07903bd862da5c47b771842b8965e8f9f63cea69 /src
parent57adeb1bd1f761b9a0c8603f366e6123d910899e (diff)
parent940db8f354853f23788c652f2a5d9097c7a442df (diff)
downloadvyos-1x-22c5f86dbe183f92636aa1b140aa062e35508760.tar.gz
vyos-1x-22c5f86dbe183f92636aa1b140aa062e35508760.zip
Merge branch 'current' into T3282
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/show_nat_translations.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/op_mode/show_nat_translations.py b/src/op_mode/show_nat_translations.py
index 04c20e584..25091e9fc 100755
--- a/src/op_mode/show_nat_translations.py
+++ b/src/op_mode/show_nat_translations.py
@@ -51,6 +51,8 @@ def command(srcdest, proto, ipaddr):
command += f' --orig-src {ipaddr}'
if srcdest == 'destination':
command += ' -g'
+ if ipaddr:
+ command += f' --orig-dst {ipaddr}'
return command