mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-30 18:53:26 +01:00
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>
(cherry picked from commit a9237c1af9)
This commit is contained in:
parent
2b889aa71a
commit
e54e5bc415
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue