summaryrefslogtreecommitdiffstats
path: root/zebra/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/test_main.c')
-rw-r--r--zebra/test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/test_main.c b/zebra/test_main.c
index bbaf45028..722151288 100644
--- a/zebra/test_main.c
+++ b/zebra/test_main.c
@@ -136,7 +136,7 @@ DEFUN (test_interface_state,
ifp->flags = IFF_BROADCAST|IFF_MULTICAST;
}
- switch (argv[0][0])
+ switch (argv[1]->arg[0])
{
case 'u':
SET_FLAG (ifp->flags, IFF_UP);