network: also shorten virtual interface names of ppp and 3g/4g connections
[openwrt/svn-archive/archive.git] / package / network / utils / uqmi / files / lib / netifd / proto / qmi.sh
index ae6aa730a6f3f66db138c4079f9fe44ed59272fe..9ae60169ea98d3d00e296fefc989ff32b46aaaf5 100755 (executable)
@@ -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