summaryrefslogtreecommitdiff
path: root/templates/show/interfaces/ethernet
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-03-03 13:00:23 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-03-03 13:00:23 -0800
commit896e4ffb90951fbfac777683f1d7fdc8aa2c7b22 (patch)
treea4930440be4f47a86a8516bc2e6d6e0dbf87f5ca /templates/show/interfaces/ethernet
parentde1f1f3c30a6adfdbcf7b325550d17e61e4ff623 (diff)
downloadvyatta-op-896e4ffb90951fbfac777683f1d7fdc8aa2c7b22.tar.gz
vyatta-op-896e4ffb90951fbfac777683f1d7fdc8aa2c7b22.zip
Add quotes around user input
Diffstat (limited to 'templates/show/interfaces/ethernet')
-rw-r--r--templates/show/interfaces/ethernet/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/show/interfaces/ethernet/node.tag/brief/node.def b/templates/show/interfaces/ethernet/node.tag/brief/node.def
index 52b3870..3340d9e 100644
--- a/templates/show/interfaces/ethernet/node.tag/brief/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/brief/node.def
@@ -1,2 +1,2 @@
help: Show given ethernet interface information
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4 --action=show-brief
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief
diff --git a/templates/show/interfaces/ethernet/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/node.def
index 3dab472..b41cf8b 100644
--- a/templates/show/interfaces/ethernet/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/node.def
@@ -6,4 +6,4 @@ allowed: for dev in /sys/class/net/*;
fi
fi
done
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def
index 956be62..1eaa07c 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def
@@ -1,2 +1,2 @@
help: Show given virtual network interface information
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4.$6 --action=show-brief
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" --action=show-brief
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
index 813637b..13f196f 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
@@ -2,4 +2,4 @@ help: Show given virtual network interface information
allowed: local -a array ;
array=( /sys/class/net/${COMP_WORDS[3]}.* ) ;
echo -n ${array[@]##*.}
-run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf=$4.$6
+run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6"