Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2022 05:54:40 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2864d3dcd668 - stable/12 - if_indextoname(3): Correct the RFC in a comment
Message-ID:  <202204100554.23A5se7H052329@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=2864d3dcd6685094a76365ab000158810a03e992

commit 2864d3dcd6685094a76365ab000158810a03e992
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-03 11:50:15 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-10 05:54:01 +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
    
    (cherry picked from commit fa556e83be84c588704ce0d652803eb7187bcd30)
---
 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204100554.23A5se7H052329>