diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-02 20:43:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 20:43:01 +0100 |
commit | 22c5f86dbe183f92636aa1b140aa062e35508760 (patch) | |
tree | 07903bd862da5c47b771842b8965e8f9f63cea69 /src/op_mode/show_nat_translations.py | |
parent | 57adeb1bd1f761b9a0c8603f366e6123d910899e (diff) | |
parent | 940db8f354853f23788c652f2a5d9097c7a442df (diff) | |
download | vyos-1x-22c5f86dbe183f92636aa1b140aa062e35508760.tar.gz vyos-1x-22c5f86dbe183f92636aa1b140aa062e35508760.zip |
Merge branch 'current' into T3282
Diffstat (limited to 'src/op_mode/show_nat_translations.py')
-rwxr-xr-x | src/op_mode/show_nat_translations.py | 2 |
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 |