summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/hotplug.d/net/10-net
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/hotplug.d/net/10-net')
-rw-r--r--package/base-files/files/etc/hotplug.d/net/10-net2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/hotplug.d/net/10-net b/package/base-files/files/etc/hotplug.d/net/10-net
index ef59004645..42ff29e799 100644
--- a/package/base-files/files/etc/hotplug.d/net/10-net
+++ b/package/base-files/files/etc/hotplug.d/net/10-net
@@ -46,7 +46,7 @@ delif() {
for ifc in $interfaces; do
config_get iftype "$ifc" type
config_get ifs "$ifc" device
- confdevs="$(uci get network.$ifc.ifname)"
+ confdevs="$(uci_get network.$ifc.ifname)"
for dev in $ifs; do
[ "${dev%%\.*}" = "$INTERFACE" ] && {
list_contains confdevs "$dev" || list_remove ifs "$dev"