diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2021-11-06 14:02:15 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-04-29 21:33:05 +0200 |
commit | 2bfbc2dbd8b0d9570a8df0d8d8db93c2a9fcec01 (patch) | |
tree | 97493ff717204b2a6b5af74a3554b201d2daa4a3 /package/network | |
parent | 9808b09b91e805a4ae2e11521faf3cd8e5cf8270 (diff) | |
download | upstream-2bfbc2dbd8b0d9570a8df0d8d8db93c2a9fcec01.tar.gz upstream-2bfbc2dbd8b0d9570a8df0d8d8db93c2a9fcec01.tar.bz2 upstream-2bfbc2dbd8b0d9570a8df0d8d8db93c2a9fcec01.zip |
umbim: delegate RFC7278 IPv6 prefixes from OOB config
Delegate prefixes received through MBIM control channel the same way, as
would be done through DHCP, according to RFC7278.
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'package/network')
-rwxr-xr-x | package/network/utils/umbim/files/lib/netifd/proto/mbim.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh index 617407cd08..eab5cf3de6 100755 --- a/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh +++ b/package/network/utils/umbim/files/lib/netifd/proto/mbim.sh @@ -258,6 +258,12 @@ _proto_mbim_setup() { done json_close_array + json_add_array ip6prefix + for address in $ipv6address; do + json_add_string "" "$address" + done + json_close_array + json_add_string ip6gw $(_proto_mbim_get_field ipv6gateway "$mbimconfig") [ "$peerdns" = 0 ] || { |