libiproute: add missing break's
This commit is contained in:
parent
e03c77fe15
commit
1eecaf26b0
@ -858,10 +858,13 @@ int do_iproute(int argc, char **argv)
|
|||||||
return iproute_list_or_flush(argc-1, argv+1, 0);
|
return iproute_list_or_flush(argc-1, argv+1, 0);
|
||||||
case 8: /* prepend */
|
case 8: /* prepend */
|
||||||
flags = NLM_F_CREATE;
|
flags = NLM_F_CREATE;
|
||||||
|
break;
|
||||||
case 9: /* replace */
|
case 9: /* replace */
|
||||||
flags = NLM_F_CREATE|NLM_F_REPLACE;
|
flags = NLM_F_CREATE|NLM_F_REPLACE;
|
||||||
|
break;
|
||||||
case 10: /* test */
|
case 10: /* test */
|
||||||
flags = NLM_F_EXCL;
|
flags = NLM_F_EXCL;
|
||||||
|
break;
|
||||||
case 11: /* flush */
|
case 11: /* flush */
|
||||||
return iproute_list_or_flush(argc-1, argv+1, 1);
|
return iproute_list_or_flush(argc-1, argv+1, 1);
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user