diff options
author | David Ahern <dsahern@kernel.org> | 2020-09-17 09:13:33 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-17 17:07:15 -0700 |
commit | 897217b9a00426a037215c5539f467733a3823fe (patch) | |
tree | e08a59cef08639b5d0f30d753b51861d9965547e /drivers/net/mdio | |
parent | 77646b63ff2513dfe256d9dbf0929221f083369e (diff) |
selftests: Set default protocol for raw sockets in nettest
IPPROTO_IP (0) is not valid for raw sockets. Default the protocol for
raw sockets to IPPROTO_RAW if the protocol has not been set via the -P
option.
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mdio')
0 files changed, 0 insertions, 0 deletions