summaryrefslogtreecommitdiffstats
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1996-06-10 23:07:36 +0000
committergpalmer <gpalmer@FreeBSD.org>1996-06-10 23:07:36 +0000
commit3d25650dd7c966ac51f8b3282ebd9e19d4180bba (patch)
tree873cfb6a0afbdf68e48eb5fc1d9b647963c2ab23 /sys/net/if_spppsubr.c
parent5084820da1fa2c34db54030c73050e853283ba69 (diff)
downloadFreeBSD-src-3d25650dd7c966ac51f8b3282ebd9e19d4180bba.zip
FreeBSD-src-3d25650dd7c966ac51f8b3282ebd9e19d4180bba.tar.gz
Change the use if ifnet.if_lastchange to be more in line with
SNMP requirements. Update description of ifnet.if_lastchange in if.h to indicate this.
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index b7ab6ab..b6bee56 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -201,7 +201,6 @@ void sppp_input (struct ifnet *ifp, struct mbuf *m)
struct ifqueue *inq = 0;
int s;
- ifp->if_lastchange = time;
if (ifp->if_flags & IFF_UP)
/* Count received bytes, add FCS and one flag */
ifp->if_ibytes += m->m_pkthdr.len + 3;
@@ -470,7 +469,6 @@ nosupport:
* according to RFC 1333.
*/
ifp->if_obytes += m->m_pkthdr.len + 3;
- ifp->if_lastchange = time;
splx (s);
return (0);
}
OpenPOWER on IntegriCloud