git: cc7901791cbc - main - nd6: Fix a typo on MAX_NEIGHBOR_ADVERTISEMENT comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 13:13:21 UTC
The branch main has been updated by pouria:
URL: https://cgit.FreeBSD.org/src/commit/?id=cc7901791cbccee40cd0a5908ae0d0b33d4a586e
commit cc7901791cbccee40cd0a5908ae0d0b33d4a586e
Author: Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-09-04 13:09:17 +0000
Commit: Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-09-04 13:12:42 +0000
nd6: Fix a typo on MAX_NEIGHBOR_ADVERTISEMENT comment
Fixes: 7f3b46fe54f1 ("ndp: Add support for Gratuitous Neighbor...")
---
sys/netinet6/nd6.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet6/nd6.h b/sys/netinet6/nd6.h
index 8c9eaed18627..8b00c2d4a339 100644
--- a/sys/netinet6/nd6.h
+++ b/sys/netinet6/nd6.h
@@ -177,7 +177,7 @@ struct in6_ndifreq {
#define ND_COMPUTE_RTIME(x) \
(((MIN_RANDOM_FACTOR * (x >> 10)) + (arc4random() & \
((MAX_RANDOM_FACTOR - MIN_RANDOM_FACTOR) * (x >> 10)))) /1000)
-#define MAX_NEIGHBOR_ADVERTISEMENT 3 /* RFC4891 Section 10 */
+#define MAX_NEIGHBOR_ADVERTISEMENT 3 /* RFC4861 Section 10 */
struct nd_defrouter {
TAILQ_ENTRY(nd_defrouter) dr_entry;