comgt: initialize ifname for directip
authorFelix Fietkau <nbd@openwrt.org>
Wed, 24 Sep 2014 17:04:20 +0000 (17:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 24 Sep 2014 17:04:20 +0000 (17:04 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42658

package/network/utils/comgt/files/directip.sh

index 111fb50b97c9474f65b9aa35bbcfe52eeffd60bb..f09d938b097a214a0a219b687c771c51485a85dd 100644 (file)
@@ -66,7 +66,7 @@ proto_directip_setup() {
        }
 
        logger -p daemon.info -t "directip[$$]" "Connected, starting DHCP"
-       proto_init_update "*" 1
+       proto_init_update "$ifname" 1
        proto_send_update "$interface"
 
        json_init