In CTL_NET_NAMES, ECMA is added as "emca" which looks like a typo
even in French. The value won't be used anywhere though which is
likely why it slipped through. It's been there since day one.

Matthew

Index: sys/sys/socket.h
===================================================================
RCS file: /src/datum/openbsd/cvs/src/sys/sys/socket.h,v
retrieving revision 1.99
diff -u -p -r1.99 socket.h
--- sys/sys/socket.h    29 Oct 2020 21:15:27 -0000      1.99
+++ sys/sys/socket.h    6 Oct 2021 10:15:51 -0000
@@ -322,7 +322,7 @@ struct sockpeercred {
        { "chaos", CTLTYPE_NODE }, \
        { "xerox_ns", CTLTYPE_NODE }, \
        { "iso", CTLTYPE_NODE }, \
-       { "emca", CTLTYPE_NODE }, \
+       { "ecma", CTLTYPE_NODE }, \
        { "datakit", CTLTYPE_NODE }, \
        { "ccitt", CTLTYPE_NODE }, \
        { "ibm_sna", CTLTYPE_NODE }, \

Reply via email to