[openwrt/openwrt] uqmi: do not start 464xlat for dual-stack configurations
LEDE Commits
lede-commits at lists.infradead.org
Sun Jun 11 09:28:10 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a9237c1af9c2eee0a49d96f2588be85d24489f20
commit a9237c1af9c2eee0a49d96f2588be85d24489f20
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Sat Mar 12 17:57:44 2022 +0100
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 at gmail.com>
---
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh | 1 +
1 file changed, 1 insertion(+)
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 fd90d581e1..6c5104bccd 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
More information about the lede-commits
mailing list