From 1eecaf26b0025e91183f18dc5fd686e8832f8ee2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 30 Sep 2007 16:04:21 +0000 Subject: libiproute: add missing break's --- networking/libiproute/iproute.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'networking/libiproute') 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: -- cgit v1.2.3