]> git.gsnw.org Git - fping.git/commit
linux: account for missing IP header block when using SOCK_DGRAM
authorSteven Noonan <steven@uplinklabs.net>
Thu, 27 Feb 2020 20:16:21 +0000 (12:16 -0800)
committerSteven Noonan <steven@uplinklabs.net>
Thu, 27 Feb 2020 21:46:38 +0000 (13:46 -0800)
commit6bc29919d38b39c259d698b4c27561d9c589c852
treebc8041fbdd531752be585b445c83fc893cc09502
parent1486bf209baa49724c7f776463d2ba5858fa0ff4
linux: account for missing IP header block when using SOCK_DGRAM

Linux doesn't include an IP header in the payload when using an
unprivileged SOCK_DGRAM socket.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
src/fping.c
src/fping.h
src/socket4.c