aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-04-03 11:50:15 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-04-10 05:52:14 +0000
commit28612e5934c7e298da41037da3be4bde1f45205d (patch)
tree50921dd2dc1663c92393c562f1d40165a9d5e848 /lib/libc/net
parent2315d1fd10e3f8cf3f70b66bccf2f34acabe8248 (diff)
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 (cherry picked from commit fa556e83be84c588704ce0d652803eb7187bcd30)
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/if_indextoname.c2
1 files changed, 1 insertions, 1 deletions
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.