summaryrefslogtreecommitdiffhomepage
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-30 16:04:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-30 16:04:21 +0000
commit1eecaf26b0025e91183f18dc5fd686e8832f8ee2 (patch)
treea09f83077a99e85de5a847966db056694f8ddae1 /networking/libiproute
parente03c77fe150895df3fc781b24d07dc6af86e4431 (diff)
libiproute: add missing break's
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/iproute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index fbc721049..91811117c 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -858,10 +858,13 @@ int do_iproute(int argc, char **argv)
return iproute_list_or_flush(argc-1, argv+1, 0);
case 8: /* prepend */
flags = NLM_F_CREATE;
+ break;
case 9: /* replace */
flags = NLM_F_CREATE|NLM_F_REPLACE;
+ break;
case 10: /* test */
flags = NLM_F_EXCL;
+ break;
case 11: /* flush */
return iproute_list_or_flush(argc-1, argv+1, 1);
default: