diff options
Diffstat (limited to 'babeld')
-rw-r--r-- | babeld/kernel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/babeld/kernel.c b/babeld/kernel.c index d4c962af3..e3c76bdd9 100644 --- a/babeld/kernel.c +++ b/babeld/kernel.c @@ -103,10 +103,8 @@ kernel_route(enum babel_kernel_routes operation, const unsigned char *pref, switch (operation) { case ROUTE_ADD: return zebra_route(1, family, pref, plen, gate, ifindex, metric); - break; case ROUTE_FLUSH: return zebra_route(0, family, pref, plen, gate, ifindex, metric); - break; case ROUTE_MODIFY: if(newmetric == metric && memcmp(newgate, gate, 16) == 0 && newifindex == ifindex) @@ -119,7 +117,6 @@ kernel_route(enum babel_kernel_routes operation, const unsigned char *pref, rc = zebra_route(1, family, pref, plen, newgate, newifindex, newmetric); return rc; - break; } return 0; |