grml-sniff: don't disable IPv6, raising unexpected behavior
authorMichael Prokop <mika@grml.org>
Fri, 5 Jul 2019 14:13:42 +0000 (16:13 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 5 Jul 2019 14:14:53 +0000 (16:14 +0200)
sbin/grml-sniff

index cbb8ec1..23863bf 100755 (executable)
@@ -46,9 +46,6 @@ case "$1" in
         einfo "Starting sniffing setup"
         eindent
 
         einfo "Starting sniffing setup"
         eindent
 
-            einfo "Disabling IPv6 to avoid neighbor solicitation/multicast traffic"
-            echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
-
             einfo "Creating bridge device"
             brctl addbr "$BRIDGE_NAME"
             eend $?
             einfo "Creating bridge device"
             brctl addbr "$BRIDGE_NAME"
             eend $?
@@ -103,8 +100,6 @@ case "$1" in
             brctl delbr "$BRIDGE_NAME"
             eend $?
 
             brctl delbr "$BRIDGE_NAME"
             eend $?
 
-            einfo "Re-enabling IPv6"
-            echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6
         eoutdent
    ;;
 
         eoutdent
    ;;