summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 06:05:05 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 06:05:05 +0000
commit92e441e5118d285594af4b0ef964f51d1df97920 (patch)
tree36ed3f012b2dbc541cbc0521ae018d7d78851515 /sys
parentff473bbec48ad025df03b26e1b439451abc57213 (diff)
no need to log() on outgoing packet on !IFF_UP case
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_gif.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index 56ef774ec4c..91d7ce70dc5 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gif.c,v 1.22 2002/05/20 22:29:57 art Exp $ */
+/* $OpenBSD: if_gif.c,v 1.23 2002/06/09 06:05:04 itojun Exp $ */
/* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */
/*
@@ -180,9 +180,6 @@ gif_output(ifp, m, dst, rt)
m->m_flags &= ~(M_BCAST|M_MCAST);
if (!(ifp->if_flags & IFF_UP) ||
sc->gif_psrc == NULL || sc->gif_pdst == NULL) {
- log(LOG_NOTICE,
- "gif_output: attempt to use unconfigured interface %s\n",
- ifp->if_xname);
m_freem(m);
error = ENETDOWN;
goto end;