]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Disable DNS server from dnsmasq
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 4 Dec 2013 03:42:14 +0000 (05:42 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 27 Jan 2014 20:08:14 +0000 (22:08 +0200)
This avoids issues with multiple instances of dnsmasq running, e.g.,
with one on eth0 and the other one for the P2P group.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/examples/p2p-action.sh

index c44ea7e35bda962ca04adfc42457f58f6c4c8a4b..797d43a0088a552fe653f60b0eb39784a01afc5e 100755 (executable)
@@ -34,7 +34,7 @@ if [ "$CMD" = "P2P-GROUP-STARTED" ]; then
            # start with -z to avoid that
            dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \
                -i $GIFNAME \
-               -F192.168.42.11,192.168.42.99 --listen-address 192.168.42.1 -z
+               -F192.168.42.11,192.168.42.99 --listen-address 192.168.42.1 -z -p 0
        fi
     fi
     if [ "$4" = "client" ]; then