summaryrefslogtreecommitdiff
path: root/templates/clear/interfaces/ethernet
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-02-26 18:32:30 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-02-26 18:32:30 -0800
commit543600c241dc59f8a6d7a52ca8f0115c552a3757 (patch)
tree3a9757e14c7d6e1ae48dcbb893d3cb87718e5715 /templates/clear/interfaces/ethernet
parent93fe2569aedb2b60604b9ef77edd40aa2af17f93 (diff)
downloadvyatta-op-543600c241dc59f8a6d7a52ca8f0115c552a3757.tar.gz
vyatta-op-543600c241dc59f8a6d7a52ca8f0115c552a3757.zip
Add quotes to user entered parameters
Diffstat (limited to 'templates/clear/interfaces/ethernet')
-rw-r--r--templates/clear/interfaces/ethernet/counters/node.def2
-rw-r--r--templates/clear/interfaces/ethernet/node.tag/counters/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/clear/interfaces/ethernet/counters/node.def b/templates/clear/interfaces/ethernet/counters/node.def
index e7a5d6a..85a02d5 100644
--- a/templates/clear/interfaces/ethernet/counters/node.def
+++ b/templates/clear/interfaces/ethernet/counters/node.def
@@ -1,2 +1,2 @@
help: Clear all Ethernet interface counters
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type=$3
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/ethernet/node.tag/counters/node.def b/templates/clear/interfaces/ethernet/node.tag/counters/node.def
index 086f966..ba3199b 100644
--- a/templates/clear/interfaces/ethernet/node.tag/counters/node.def
+++ b/templates/clear/interfaces/ethernet/node.tag/counters/node.def
@@ -1,2 +1,2 @@
help: Clear interface counters for a given interface
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf=$4
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"