aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/samba36/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/samba36/files')
-rwxr-xr-xpackage/network/services/samba36/files/samba.init7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/network/services/samba36/files/samba.init b/package/network/services/samba36/files/samba.init
index c8413243ba..28b0064df9 100755
--- a/package/network/services/samba36/files/samba.init
+++ b/package/network/services/samba36/files/samba.init
@@ -15,12 +15,7 @@ smb_header() {
for net in $samba_iface; do
local device
network_is_up $net || continue
- network_get_device device "$net" && {
- local subnet
- network_get_subnet subnet "$net" && echo -n "$subnet "
- network_get_subnet6 subnet "$net" && echo -n "$subnet "
- }
-
+ network_get_device device "$net"
echo -n "${device:-$net} "
done
)