[openwrt/openwrt] umbim: delegate RFC7278 IPv6 prefixes from OOB config
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 29 12:39:19 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2bfbc2dbd8b0d9570a8df0d8d8db93c2a9fcec01
commit 2bfbc2dbd8b0d9570a8df0d8d8db93c2a9fcec01
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Sat Nov 6 14:02:15 2021 +0100
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 at gmail.com>
---
package/network/utils/umbim/files/lib/netifd/proto/mbim.sh | 6 ++++++
1 file changed, 6 insertions(+)
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 ] || {
More information about the lede-commits
mailing list