summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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