summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-09-15 08:35:37 +0000
committerpst <pst@FreeBSD.org>1994-09-15 08:35:37 +0000
commita3e0f2ece44d911e2820a240798d72b627fd4450 (patch)
tree06c0402158a78f86224d49b6a1b2d4af62686d53 /sbin
parent2e108f2b32c3b0e5532120b3873a7bd7a031df54 (diff)
downloadFreeBSD-src-a3e0f2ece44d911e2820a240798d72b627fd4450.zip
FreeBSD-src-a3e0f2ece44d911e2820a240798d72b627fd4450.tar.gz
Missing 'break' after setting interface route flag was causing interface
routes to not be properly marked as static.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 893996c..469c8a3 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -542,6 +542,7 @@ newroute(argc, argv)
case K_IFACE:
case K_INTERFACE:
iflag++;
+ break;
case K_NOSTATIC:
flags &= ~RTF_STATIC;
break;
OpenPOWER on IntegriCloud