Skip to content

Commit

Permalink
uqmi: do not start 464xlat for dual-stack configurations
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit a9237c1)
  • Loading branch information
Leo-PL authored and hauke committed Jul 26, 2023
1 parent 2b889aa commit e54e5bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e54e5bc

Please sign in to comment.