Skip to content

Commit

Permalink
update interface status. "Robert J. Wozny" <speedy@atman.pl>.
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jun 8, 2001
1 parent 633a042 commit 28eb059
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion kame/sys/netinet/in_gif.c
@@ -1,4 +1,4 @@
/* $KAME: in_gif.c,v 1.55 2001/06/04 12:03:42 itojun Exp $ */
/* $KAME: in_gif.c,v 1.56 2001/06/08 10:10:52 itojun Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -379,6 +379,8 @@ in_gif_input(m, va_alist)

#ifdef __OpenBSD__
m->m_pkthdr.rcvif = gifp;
gifp->if_ipackets++;
gifp->if_ibytes += m->m_pkthdr.len;
ipip_input(m, off); /* We have a configured GIF */
return;
#else
Expand Down
4 changes: 3 additions & 1 deletion kame/sys/netinet6/in6_gif.c
@@ -1,4 +1,4 @@
/* $KAME: in6_gif.c,v 1.50 2001/06/04 12:03:42 itojun Exp $ */
/* $KAME: in6_gif.c,v 1.51 2001/06/08 10:10:52 itojun Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -373,6 +373,8 @@ int in6_gif_input(mp, offp, proto)

#ifdef __OpenBSD__
m->m_pkthdr.rcvif = gifp;
gifp->if_ipackets++;
gifp->if_ibytes += m->m_pkthdr.len;
ipip_input(m, *offp);
return IPPROTO_DONE;
#else
Expand Down

0 comments on commit 28eb059

Please sign in to comment.