summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gif.c
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2001-06-19 15:53:51 +0000
committersumikawa <sumikawa@FreeBSD.org>2001-06-19 15:53:51 +0000
commit64372be0d7a58b22bd23d1c9dfda645bb3946082 (patch)
tree7d12591e728aaef5438350b87ff21c57a3241ed4 /sys/net/if_gif.c
parent8e8983228c23a31fab165ccea0111506ec3df90a (diff)
downloadFreeBSD-src-64372be0d7a58b22bd23d1c9dfda645bb3946082.zip
FreeBSD-src-64372be0d7a58b22bd23d1c9dfda645bb3946082.tar.gz
Suppress update ifnet.iflastchange when processing packets for SNMP
requirements(RFC1573, interface MIB). This change for 4.4BSD was first introduced in if_ethersubr.c:1.17->1.18. BTW, iflastchange on all of IFs are inconsistent. e.g. ether, tun: update fddi, tokenring, ppp: not update I'll make patch later. Obtained from: KAME MFC after: 2 weeks
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r--sys/net/if_gif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index 465063c..acb9e8b 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -253,7 +253,6 @@ gif_output(ifp, m, dst, rt)
goto end;
}
- getmicrotime(&ifp->if_lastchange);
m->m_flags &= ~(M_BCAST|M_MCAST);
if (!(ifp->if_flags & IFF_UP) ||
sc->gif_psrc == NULL || sc->gif_pdst == NULL) {
OpenPOWER on IntegriCloud