libiproute: add missing break's
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 30 Sep 2007 16:04:21 +0000 (16:04 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 30 Sep 2007 16:04:21 +0000 (16:04 -0000)
networking/libiproute/iproute.c

index fbc7210496f4948895922f87fb7fc74e0e200e3e..91811117ca1309c46b52f5fb3ae9f6001f4a6081 100644 (file)
@@ -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: