From: Ronnie Sahlberg Date: Wed, 4 Jul 2007 03:27:08 +0000 (+1000) Subject: ETH_P_IP does not work on my ubuntu system so changing it back to the X-Git-Tag: tevent-0.9.20~348^2~2477^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edcab7e0681eeaf9e65089698bde432d13afc7ac;p=thirdparty%2Fsamba.git ETH_P_IP does not work on my ubuntu system so changing it back to the slightly less efficient ETH_P_ALL (This used to be ctdb commit 84b8c77654b6c24928f63c801b183390824a3f6f) --- diff --git a/ctdb/tools/socketkiller.c b/ctdb/tools/socketkiller.c index 6781b641021..2b66ccaa601 100644 --- a/ctdb/tools/socketkiller.c +++ b/ctdb/tools/socketkiller.c @@ -162,7 +162,7 @@ int main(int argc, char *argv[]) /* wait for up to 5 seconds before giving up */ alarm(5); - s=socket(AF_PACKET, SOCK_RAW, htons(ETH_P_IP)); + s=socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); send_tcp(&dst, &src, 0, 0, 0);