]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: don't claim REMOTE_PORT= was initialized to the protocol for AF_RAW sockets
authorLennart Poettering <lennart@poettering.net>
Thu, 15 May 2025 07:06:52 +0000 (09:06 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 28 May 2025 11:50:50 +0000 (12:50 +0100)
This claim has no basis in reality, not even in the original commit
where the sentence was added this was true, see
3b1c524154c876aecebc98787975cc2943100210.

Hence removing.

(cherry picked from commit 99d52ab51fc02942f951891fbafcaf7ca5ad1dd0)

man/systemd.socket.xml

index f20c5fc2ef8da29283d5b966340abcf32f27fa81..acec1f1047f105902391a74e0622d9c3c56adcde 100644 (file)
 
         <para>For IPv4 and IPv6 connections, the <varname>$REMOTE_ADDR</varname> environment variable will
         contain the remote IP address, and <varname>$REMOTE_PORT</varname> will contain the remote port. This
-        is the same as the format used by CGI. For <constant>SOCK_RAW</constant>, the port is the IP
-        protocol.</para>
+        is the same as the format used by CGI.</para>
 
         <para>For <constant>AF_UNIX</constant> socket connections, the <varname>$REMOTE_ADDR</varname>
         environment variable will contain either the remote socket's file system path starting with a slash