diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2001-06-19 15:53:51 +0000 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2001-06-19 15:53:51 +0000 |
commit | 64372be0d7a58b22bd23d1c9dfda645bb3946082 (patch) | |
tree | 7d12591e728aaef5438350b87ff21c57a3241ed4 /sys | |
parent | 8e8983228c23a31fab165ccea0111506ec3df90a (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/net/if_gif.c | 1 |
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) { |