diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-07-13 23:12:10 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-07-13 23:12:10 +0000 |
commit | b9b4749e03c5faa0c53f25e0e907f4fcc637e11c (patch) | |
tree | c86e34bfc8adbf166ab1741d1b867955dbf99257 /sbin/route/route.c | |
parent | 633c54df25068ea5ea1efc87233be815e87d708d (diff) |
Added -encap flag for flushing, added a missing break; in flushing X25
entries.
Diffstat (limited to 'sbin/route/route.c')
-rw-r--r-- | sbin/route/route.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 |