summaryrefslogtreecommitdiffstats
path: root/share/man/man9/ifnet.9
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-02-25 19:46:41 +0000
committerbrooks <brooks@FreeBSD.org>2005-02-25 19:46:41 +0000
commite5a9c072c1563b17574a8123220f8773afeedcee (patch)
tree5895b9b8e3331ee9dc052b57c4b96c4d23adc658 /share/man/man9/ifnet.9
parentb3f1395f0dd0fa285d4af6993d6562c37844fb6f (diff)
downloadFreeBSD-src-e5a9c072c1563b17574a8123220f8773afeedcee.zip
FreeBSD-src-e5a9c072c1563b17574a8123220f8773afeedcee.tar.gz
Change the definition of struct if_data's member ifi_epoch from wall
clock time to uptime because wall clock time may go backwards. This is a change in the API which will impact SNMP agents who are using ifi_epoch to set RFC2233's ifCounterDiscontinuityTime. None are know to exist today. This will not impact applications that are using the <index, epoch> tuple to verify interface uniqueness except that it eliminates a race which could lead to a false assumption of uniqueness. Because this is a behavior change, bump __FreeBSD_version. Discussed with: re (jhb, scottl) MFC after: 3 days Pointed out by: pkh (way back at EuroBSDCon) Pointy hat: brooks
Diffstat (limited to 'share/man/man9/ifnet.9')
-rw-r--r--share/man/man9/ifnet.92
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index 86c9724..9eeb34b 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -729,7 +729,7 @@ the current value of
.Va if_capenable .
.It ifi_epoch
.Pq Vt time_t
-The time the interface was attached or the last time the statistics
+The system uptime when interface was attached or the statistics
below were reset.
This is intended to be used to set the SNMP variable
.Va ifCounterDiscontinuityTime .
OpenPOWER on IntegriCloud