diff options
Diffstat (limited to 'zebra/test_main.c')
-rw-r--r-- | zebra/test_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/test_main.c b/zebra/test_main.c index 5bb4ee540..bbaf45028 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]->arg[0]) + switch (argv[0][0]) { case 'u': SET_FLAG (ifp->flags, IFF_UP); |