summaryrefslogtreecommitdiff
path: root/templates-op/show/nat/translations/source
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-06-10 11:36:08 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2010-06-10 11:36:08 -0700
commitcf6044455bedf4fba9611dcb3745d4f535c3a3ff (patch)
tree3aef1052bb8a2414cc62d950ad6bbb37d420b69c /templates-op/show/nat/translations/source
parente59c2db5e7edd67d6d847c4f328566917ac2530d (diff)
downloadvyatta-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/source')
-rw-r--r--templates-op/show/nat/translations/source/monitor/detail/node.def2
-rw-r--r--templates-op/show/nat/translations/source/monitor/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates-op/show/nat/translations/source/monitor/detail/node.def b/templates-op/show/nat/translations/source/monitor/detail/node.def
index 4d69843..d0ac59d 100644
--- a/templates-op/show/nat/translations/source/monitor/detail/node.def
+++ b/templates-op/show/nat/translations/source/monitor/detail/node.def
@@ -1,4 +1,4 @@
help: Show active NAT source translations events
run: LESSOPEN=cat
echo Type control-C to quit
- sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose \ No newline at end of file
+ sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose
diff --git a/templates-op/show/nat/translations/source/monitor/node.def b/templates-op/show/nat/translations/source/monitor/node.def
index 2956935..fcaec10 100644
--- a/templates-op/show/nat/translations/source/monitor/node.def
+++ b/templates-op/show/nat/translations/source/monitor/node.def
@@ -1,4 +1,4 @@
help: Show active NAT source translations events
run: LESSOPEN=cat
echo Type control-C to quit
- sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe
+ sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe