summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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