git: fa556e83be84 - main - if_indextoname(3): Correct the RFC in a comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Apr 2022 11:50:44 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=fa556e83be84c588704ce0d652803eb7187bcd30
commit fa556e83be84c588704ce0d652803eb7187bcd30
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-03 11:50:15 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-03 11:50:15 +0000
if_indextoname(3): Correct the RFC in a comment
RFC 2533 refers to 'A Syntax for Describing Media Feature Sets',
which is wrong since the correct reference should be
RFC 2553 'Basic Socket Interface Extensions for IPv6'.
Obtained from: OpenBSD
MFC after: 1 week
---
lib/libc/net/if_indextoname.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libc/net/if_indextoname.c b/lib/libc/net/if_indextoname.c
index 454823e5e016..e7ccb422dc6a 100644
--- a/lib/libc/net/if_indextoname.c
+++ b/lib/libc/net/if_indextoname.c
@@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
/*
- * From RFC 2533:
+ * From RFC 2553:
*
* The second function maps an interface index into its corresponding
* name.