]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ETH_P_IP does not work on my ubuntu system so changing it back to the
authorRonnie Sahlberg <sahlberg@ronnie>
Wed, 4 Jul 2007 03:27:08 +0000 (13:27 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Wed, 4 Jul 2007 03:27:08 +0000 (13:27 +1000)
slightly less efficient ETH_P_ALL

(This used to be ctdb commit 84b8c77654b6c24928f63c801b183390824a3f6f)

ctdb/tools/socketkiller.c

index 6781b6410210d67cd64c4ddbefe26ba20d12c1e2..2b66ccaa60102a48f79c34fef0726f5b01b79a11 100644 (file)
@@ -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);