uqmi: do not start 464xlat for dual-stack configurations
[openwrt/openwrt.git] / package / network / utils / uqmi / files / lib / netifd / proto / qmi.sh
index fd90d581e128d7b0fb98ca6cc453fd4fce8e6b38..6c5104bccd834738abd1cc0ec1e71388e496d0cd 100755 (executable)
@@ -388,6 +388,7 @@ proto_qmi_setup() {
                        json_init
                        json_add_string name "${interface}_6"
                        json_add_string ifname "@$interface"
+                       [ "$pdptype" = "ipv4v6" ] && json_add_string iface_464xlat "0"
                        json_add_string proto "dhcpv6"
                        [ -n "$ip6table" ] && json_add_string ip6table "$ip6table"
                        proto_add_dynamic_defaults