ping: try SOCK_DGRAM if no root privileges
authorDaniel Borca <dborca@yahoo.com>
Thu, 28 Nov 2013 11:50:25 +0000 (12:50 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 28 Nov 2013 11:50:25 +0000 (12:50 +0100)
commit72745632a13ccd12232127b31e1656f2f7ebcaff
tree2548a6297208698dbab4c4a3db3e16961c2cf800
parentdf0d2cd837e564e2653ce9a8b92a32d4eaf6e9c3
ping: try SOCK_DGRAM if no root privileges

Signed-off-by: Daniel Borca <dborca@yahoo.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ping.c