From 6f98502ae28c1055dc66ad157391ff3a34b9992c Mon Sep 17 00:00:00 2001 From: mycroft Date: Thu, 20 Apr 1995 20:52:46 +0000 Subject: [PATCH] Interface-specific routes can be static. --- sbin/route/route.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sbin/route/route.c b/sbin/route/route.c index 5173321dddd8..7ebc136f5f84 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $NetBSD: route.c,v 1.13 1995/04/20 17:39:20 mycroft Exp $ */ +/* $NetBSD: route.c,v 1.14 1995/04/20 20:52:46 mycroft Exp $ */ /* * Copyright (c) 1983, 1989, 1991, 1993 @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; #else -static char rcsid[] = "$NetBSD: route.c,v 1.13 1995/04/20 17:39:20 mycroft Exp $"; +static char rcsid[] = "$NetBSD: route.c,v 1.14 1995/04/20 20:52:46 mycroft Exp $"; #endif #endif /* not lint */ @@ -546,6 +546,7 @@ newroute(argc, argv) case K_IFACE: case K_INTERFACE: iflag++; + break; case K_NOSTATIC: flags &= ~RTF_STATIC; break;