summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2012-11-16 14:59:37 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2012-11-16 14:59:37 +0000
commit0ab08d2be8f9c240ab0547c7a5cdf8e439036571 (patch)
treee9353a244d55482de4857a5c15aaac70be6bb4ed
parent7bd6f0d683dd4018971a03848746ca351515565c (diff)
Add missing 'break;' so that IFT_ETHER, etc. routes are deleted as
intended.
-rw-r--r--sbin/dhclient/kroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c
index d3fb17f6308..55195d99076 100644
--- a/sbin/dhclient/kroute.c
+++ b/sbin/dhclient/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.16 2012/11/15 14:54:18 krw Exp $ */
+/* $OpenBSD: kroute.c,v 1.17 2012/11/16 14:59:36 krw Exp $ */
/*
* Copyright 2012 Kenneth R Westerback <krw@openbsd.org>
@@ -145,7 +145,7 @@ priv_flush_routes_and_arp_cache(int rdomain)
case IFT_ISO88025:
case IFT_CARP:
/* Delete it. */
- ;
+ break;
default:
continue;
}