From 0d1b5a1fd2359949cd7b3cddce76f6f248758ed9 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 17 Apr 2015 14:47:12 +0000 Subject: network: also shorten virtual interface names of ppp and 3g/4g connections Signed-off-by: Steven Barth SVN-Revision: 45479 --- package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/network/utils/uqmi') diff --git a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh index ae6aa73..9ae6016 100755 --- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh +++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh @@ -118,14 +118,14 @@ proto_qmi_setup() { 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 name "${interface}_dhcpv6" + json_add_string name "${interface}_6" json_add_string ifname "@$interface" json_add_string proto "dhcpv6" json_close_object -- cgit v1.1