summaryrefslogtreecommitdiffstats
path: root/usr.sbin/IPXrouted/main.c
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1999-04-24 09:18:49 +0000
committerjhay <jhay@FreeBSD.org>1999-04-24 09:18:49 +0000
commitb7deac3b242b710521e100e40db578d37734d871 (patch)
tree7047c531b59671c32426e154c978d1acac35a700 /usr.sbin/IPXrouted/main.c
parent92e2d421da60aa12981a463edb31a7171816508e (diff)
downloadFreeBSD-src-b7deac3b242b710521e100e40db578d37734d871.zip
FreeBSD-src-b7deac3b242b710521e100e40db578d37734d871.tar.gz
Add an option to disable responses to SAP_GETNEAREST_SERVER requests.
Submitted by: Boris Popov <bp@butya.kz>
Diffstat (limited to 'usr.sbin/IPXrouted/main.c')
-rw-r--r--usr.sbin/IPXrouted/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/IPXrouted/main.c b/usr.sbin/IPXrouted/main.c
index 9af5b2e..821e125 100644
--- a/usr.sbin/IPXrouted/main.c
+++ b/usr.sbin/IPXrouted/main.c
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: main.c,v 1.6 1997/02/22 16:00:57 peter Exp $
+ * $Id: main.c,v 1.7 1997/07/06 07:38:30 jhay Exp $
*/
#ifndef lint
@@ -147,8 +147,13 @@ main(argc, argv)
argv++, argc--;
continue;
}
+ if (strcmp(*argv, "-N") == 0) {
+ dognreply = 0;
+ argv++, argc--;
+ continue;
+ }
fprintf(stderr,
- "usage: ipxrouted [ -s ] [ -q ] [ -t ] [ -g ] [ -l ]\n");
+ "usage: ipxrouted [ -s ] [ -q ] [ -t ] [ -g ] [ -l ] [ -N ]\n");
exit(1);
}
OpenPOWER on IntegriCloud