mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
umbim: fixup ipv6 address and gateway for pd
This commit is contained in:
parent
0470e2a73d
commit
e38d76d36e
@ -193,8 +193,9 @@ _proto_mbim_setup() {
|
||||
mtu=$(awk '$1=="ipv6mtu:" {print $2}' "$config")
|
||||
[ "$mtu" ] && ip -6 link set "$ifname" mtu "$mtu"
|
||||
|
||||
proto_add_ipv6_address "$ip" "$mask"
|
||||
proto_add_ipv6_address "$ip" "128"
|
||||
proto_add_ipv6_prefix "$ip_6"
|
||||
proto_add_ipv6_route "$gateway" "128"
|
||||
[ "$defaultroute" = 0 ] || proto_add_ipv6_route "::" 0 "$gateway" "$metric" "" "$ip_6"
|
||||
[ "$peerdns" = 0 ] || {
|
||||
dns_servers=$(awk '$1=="ipv6dnsserver:" {printf "%s ",$2}' "$config")
|
||||
|
Loading…
Reference in New Issue
Block a user