diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-06-10 11:36:08 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-06-10 11:36:08 -0700 |
commit | cf6044455bedf4fba9611dcb3745d4f535c3a3ff (patch) | |
tree | 3aef1052bb8a2414cc62d950ad6bbb37d420b69c /templates-op/show/nat/translations/destination | |
parent | e59c2db5e7edd67d6d847c4f328566917ac2530d (diff) | |
download | vyatta-nat-cf6044455bedf4fba9611dcb3745d4f535c3a3ff.tar.gz vyatta-nat-cf6044455bedf4fba9611dcb3745d4f535c3a3ff.zip |
* make 'show nat translations' cmnds work with conntrack-tools 0.9.14
* might have to build conntrack-tools locally to patch it for filtering
src and dst nat entries together
Diffstat (limited to 'templates-op/show/nat/translations/destination')
-rw-r--r-- | templates-op/show/nat/translations/destination/monitor/detail/node.def | 2 | ||||
-rw-r--r-- | templates-op/show/nat/translations/destination/monitor/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates-op/show/nat/translations/destination/monitor/detail/node.def b/templates-op/show/nat/translations/destination/monitor/detail/node.def index 5f8cb0b..2f9dd00 100644 --- a/templates-op/show/nat/translations/destination/monitor/detail/node.def +++ b/templates-op/show/nat/translations/destination/monitor/detail/node.def @@ -1,4 +1,4 @@ help: Show active NAT destination translations events detail run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose + sudo /usr/sbin/conntrack -E -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose diff --git a/templates-op/show/nat/translations/destination/monitor/node.def b/templates-op/show/nat/translations/destination/monitor/node.def index 4b51368..383f880 100644 --- a/templates-op/show/nat/translations/destination/monitor/node.def +++ b/templates-op/show/nat/translations/destination/monitor/node.def @@ -1,4 +1,4 @@ help: Show active NAT destination translations events run: LESSOPEN=cat echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe + sudo /usr/sbin/conntrack -E -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe |