6in4: fix typo in last commit
[openwrt/staging/chunkeey.git] / package / 6in4 / files / 6in4.sh
index bea2e82ea36e93a709df2a2b9c15fd81ae56d206..62a60dc8f66c98efffb35b7f223b32a2fe7e6bf0 100755 (executable)
@@ -28,7 +28,7 @@ setup_interface_6in4() {
        local cfg="$2"
        local link="6in4-$cfg"
 
-       local local4=$(uci_get network "$cfg" local4)
+       local local4=$(uci_get network "$cfg" ipaddr)
 
        local remote4
        config_get remote4 "$cfg" peeraddr