summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-08-21 16:30:30 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-08-21 16:30:30 +0000
commitdb12988d36d83a91ef0128de678e8944a706cd19 (patch)
tree8a8b2ff0210f64872508503fc0db3a15f79c6f9b
parent334ecf0734735d07db68b1aaeecf531757f65e4a (diff)
suppress dump output on -q. sync w/kame
-rw-r--r--usr.sbin/route6d/route6d.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index 112d07c2712..b478c827eda 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: route6d.c,v 1.30 2002/06/09 02:15:54 deraadt Exp $ */
-/* $KAME: route6d.c,v 1.85 2002/06/07 16:39:41 itojun Exp $ */
+/* $OpenBSD: route6d.c,v 1.31 2002/08/21 16:30:29 itojun Exp $ */
+/* $KAME: route6d.c,v 1.88 2002/08/21 16:24:25 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -31,7 +31,7 @@
*/
#if 0
-static char _rcsid[] = "$OpenBSD: route6d.c,v 1.30 2002/06/09 02:15:54 deraadt Exp $";
+static char _rcsid[] = "$OpenBSD: route6d.c,v 1.31 2002/08/21 16:30:29 itojun Exp $";
#endif
#include <stdio.h>
@@ -733,6 +733,9 @@ ripsend(ifcp, sin6, flag)
struct in6_addr *nh; /* next hop */
int maxrte;
+ if (qflag)
+ return;
+
if (ifcp == NULL) {
/*
* Request from non-link local address is not