Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45479
3c298f89-4303-0410-b956-
a3cf2f4a3e73
if [ -n "$AUTOIPV6" ]; then
json_init
if [ -n "$AUTOIPV6" ]; then
json_init
- json_add_string name "${PPP_IPPARAM}_dhcpv6"
+ json_add_string name "${PPP_IPPARAM}_6"
json_add_string ifname "@$PPP_IPPARAM"
json_add_string proto "dhcpv6"
json_close_object
json_add_string ifname "@$PPP_IPPARAM"
json_add_string proto "dhcpv6"
json_close_object
proto_send_update "$interface"
json_init
proto_send_update "$interface"
json_init
- json_add_string name "${interface}_dhcp"
+ json_add_string name "${interface}_4"
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
ubus call network add_dynamic "$(json_dump)"
json_init
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
ubus call network add_dynamic "$(json_dump)"
json_init
- json_add_string name "${interface}_dhcpv6"
+ json_add_string name "${interface}_6"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"
proto_send_update "$interface"
json_init
proto_send_update "$interface"
json_init
- json_add_string name "${interface}_dhcp"
+ json_add_string name "${interface}_4"
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
ubus call network add_dynamic "$(json_dump)"
json_init
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
ubus call network add_dynamic "$(json_dump)"
json_init
- json_add_string name "${interface}_dhcpv6"
+ json_add_string name "${interface}_6"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"
proto_send_update "$interface"
json_init
proto_send_update "$interface"
json_init
- json_add_string name "${interface}_dhcp"
+ json_add_string name "${interface}_4"
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
json_close_object
ubus call network add_dynamic "$(json_dump)"
json_init
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
json_close_object
ubus call network add_dynamic "$(json_dump)"
json_init
- json_add_string name "${interface}_dhcpv6"
+ json_add_string name "${interface}_6"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
ubus call network add_dynamic "$(json_dump)"
proto_send_update "$interface"
json_init
proto_send_update "$interface"
json_init
- json_add_string name "${interface}_dhcp"
+ json_add_string name "${interface}_4"
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
json_close_object
ubus call network add_dynamic "$(json_dump)"
json_init
json_add_string ifname "@$interface"
json_add_string proto "dhcp"
json_close_object
ubus call network add_dynamic "$(json_dump)"
json_init
- json_add_string name "${interface}_dhcpv6"
+ json_add_string name "${interface}_6"
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
json_close_object
json_add_string ifname "@$interface"
json_add_string proto "dhcpv6"
json_close_object