From b9b4749e03c5faa0c53f25e0e907f4fcc637e11c Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Sun, 13 Jul 1997 23:12:10 +0000 Subject: Added -encap flag for flushing, added a missing break; in flushing X25 entries. --- sbin/route/route.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sbin/route/route.c') diff --git a/sbin/route/route.c b/sbin/route/route.c index cc24e47a1ed..1742ddf22ab 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.22 1997/06/24 04:05:38 millert Exp $ */ +/* $OpenBSD: route.c,v 1.23 1997/07/13 23:12:09 angelos Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; #else -static char rcsid[] = "$OpenBSD: route.c,v 1.22 1997/06/24 04:05:38 millert Exp $"; +static char rcsid[] = "$OpenBSD: route.c,v 1.23 1997/07/13 23:12:09 angelos Exp $"; #endif #endif /* not lint */ @@ -259,8 +259,12 @@ flushroutes(argc, argv) case K_OSI: af = AF_ISO; break; + case K_ENCAP: + af = AF_ENCAP; + break; case K_X25: af = AF_CCITT; + break; default: goto bad; } else -- cgit v1.2.3