From 8d90f4c4311b71b00ddbf791da942cbf828b57f1 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 24 Nov 2025 23:08:16 +0100 Subject: [PATCH] man/man2const/IPPROTO_IP.2const: Tweak after making sashimi of this page Signed-off-by: Alejandro Colomar --- man/man2const/IPPROTO_IP.2const | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/man/man2const/IPPROTO_IP.2const b/man/man2const/IPPROTO_IP.2const index 0c2799575..eedfc2405 100644 --- a/man/man2const/IPPROTO_IP.2const +++ b/man/man2const/IPPROTO_IP.2const @@ -58,14 +58,8 @@ and read with The socket option level for IP is .BR IPPROTO_IP . .\" or SOL_IP on Linux -A boolean integer flag is zero when it is false, otherwise true. .P -When an invalid socket option is specified, -.BR getsockopt (2) -and -.BR setsockopt (2) -fail with the error -.BR ENOPROTOOPT . +The following socket options are supported. .TP .BR IP_ADD_MEMBERSHIP (2const) .TQ @@ -135,6 +129,10 @@ See .BR setsockopt (2). See .BR ip (7). +.TP +.B ENOPROTOOPT +.I opt +is invalid. .\" .SH STANDARDS .\" IP_XFRM_POLICY is Linux-specific .\" IP_IPSEC_POLICY is a nonstandard extension, also present on some BSDs -- 2.47.3