json_add_string proto "dhcpv6"
proto_add_dynamic_defaults
json_add_string extendprefix 1 # RFC 7278: Extend an IPv6 /64 Prefix to LAN
+ [ "$sourcefilter" = "0" ] && json_add_boolean sourcefilter "0"
[ -n "$metric" ] && json_add_int metric "${metric}"
json_close_object
ubus call network add_dynamic "$(json_dump)"
proto_config_add_string preferredmode
proto_config_add_string pincode
proto_config_add_string iptype
+ proto_config_add_boolean sourcefilter
proto_config_add_string plmn
proto_config_add_int signalrate
proto_config_add_boolean lowpower
local address prefix gateway mtu dns1 dns2
json_get_vars device apn allowedauth username password
- json_get_vars pincode iptype plmn metric signalrate allow_roaming
+ json_get_vars pincode iptype sourcefilter plmn metric signalrate allow_roaming
json_get_vars allowedmode preferredmode force_connection
json_get_vars init_epsbearer