diff options
| author | Lech Perczak <lech.perczak@gmail.com> | 2022-03-12 17:57:44 +0100 |
|---|---|---|
| committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-06-11 18:26:41 +0200 |
| commit | a9237c1af9c2eee0a49d96f2588be85d24489f20 (patch) | |
| tree | 4b66e51490642b945d6bbe3114c9704cd0d64990 /package/network/utils | |
| parent | 48e8bf1b8f3d2750f215765f583c847ff02deca2 (diff) | |
| download | upstream-a9237c1af9c2eee0a49d96f2588be85d24489f20.tar.gz upstream-a9237c1af9c2eee0a49d96f2588be85d24489f20.tar.bz2 upstream-a9237c1af9c2eee0a49d96f2588be85d24489f20.zip | |
uqmi: do not start 464xlat for dual-stack configurations
If dual-stack configuration is in use, and dhcpv6 option is set, do not start
464xlat sub-interface for dhcpv6 sub-interace , as the configuration already
provides IPv4 connectivty, be it through single or dual APN configuration.
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'package/network/utils')
| -rwxr-xr-x | package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh index fd90d581e12..6c5104bccd8 100755 --- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh +++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh @@ -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 |
