summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-30 16:04:21 +0000
committerDenis Vlasenko2007-09-30 16:04:21 +0000
commit1eecaf26b0025e91183f18dc5fd686e8832f8ee2 (patch)
treea09f83077a99e85de5a847966db056694f8ddae1
parente03c77fe150895df3fc781b24d07dc6af86e4431 (diff)
downloadbusybox-1eecaf26b0025e91183f18dc5fd686e8832f8ee2.zip
busybox-1eecaf26b0025e91183f18dc5fd686e8832f8ee2.tar.gz
libiproute: add missing break's
-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 fbc7210..9181111 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: