Commit 530792f6 authored by adietmue's avatar adietmue
Browse files

Ensure that controller handles arguments correctly.

parent 56580e81
......@@ -138,7 +138,7 @@ function start-switches
function controller
{
if [ $# -ne 1 ]; then
if [ $# -lt 1 ]; then
traffic="default"
else
traffic=$1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment