Made a note in the code about the -d and -d options brought up in

PR 18674. Thanks to Chris Jones for pointing it out.
This commit is contained in:
jrf 2003-04-03 02:39:50 +00:00
parent cf0848bff3
commit dee179a37f
1 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: route.c,v 1.61 2002/10/18 00:21:23 itojun Exp $ */
/* $NetBSD: route.c,v 1.62 2003/04/03 02:39:50 jrf Exp $ */
/*
* Copyright (c) 1983, 1989, 1991, 1993
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1989, 1991, 1993\n\
#if 0
static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: route.c,v 1.61 2002/10/18 00:21:23 itojun Exp $");
__RCSID("$NetBSD: route.c,v 1.62 2003/04/03 02:39:50 jrf Exp $");
#endif
#endif /* not lint */
@ -163,6 +163,13 @@ main(argc, argv)
if (argc < 2)
usage(NULL);
/* The -d (debugonly) and -t (tflag) are for program debugging
* and are deliberately not documented.
*
* debugonly fakes the operation. If it is manipulating a route
* it will flush all routes not associated with a network interface.
* tflag uses /dev/null instead of a real socket.
*/
while ((ch = getopt(argc, argv, "fnqvdts")) != -1)
switch(ch) {
case 'f':