From 543600c241dc59f8a6d7a52ca8f0115c552a3757 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 26 Feb 2008 18:32:30 -0800 Subject: Add quotes to user entered parameters --- templates/clear/interfaces/loopback/counters/node.def | 2 +- templates/clear/interfaces/loopback/node.tag/counters/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/clear/interfaces/loopback') diff --git a/templates/clear/interfaces/loopback/counters/node.def b/templates/clear/interfaces/loopback/counters/node.def index 37761b6..eefdac4 100644 --- a/templates/clear/interfaces/loopback/counters/node.def +++ b/templates/clear/interfaces/loopback/counters/node.def @@ -1,2 +1,2 @@ help: Clear all loopback 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/loopback/node.tag/counters/node.def b/templates/clear/interfaces/loopback/node.tag/counters/node.def index 086f966..ba3199b 100644 --- a/templates/clear/interfaces/loopback/node.tag/counters/node.def +++ b/templates/clear/interfaces/loopback/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" -- cgit v1.2.3