aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-05-03 11:58:15 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-05-03 11:58:15 +0200
commit62462978fe637c31c68222e0e7faae6f227c2d2f (patch)
tree501b69b80a139fa50774b4b6b85c8ccc4f1505dc
parente64aace436b007d2f337e75700c3828fdce9afa0 (diff)
downloadman-pages-62462978fe637c31c68222e0e7faae6f227c2d2f.tar.gz
raw.7: For incoming datagrams, sin_port is set to zero
Reported-by: Tetsuo Handa <from-linux-kernel@i-love.sakura.ne.jp> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/raw.73
1 files changed, 2 insertions, 1 deletions
diff --git a/man7/raw.7 b/man7/raw.7
index af4e0c9357..652f7c6ba7 100644
--- a/man7/raw.7
+++ b/man7/raw.7
@@ -102,7 +102,8 @@ but it is ignored for sending in Linux 2.2 and later, and should be always
set to 0 (see BUGS).
For incoming packets,
.I sin_port
-is set to the protocol of the packet.
+.\" commit f59fc7f30b710d45aadf715460b3e60dbe9d3418
+is set to zero.
See the
.I <netinet/in.h>
include file for valid IP protocols.