mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
ssdpd: 1.0.3
This commit is contained in:
parent
fae6a213ac
commit
cbbe02096f
3 changed files with 4 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ssdpd
|
||||
PKG_VERSION:=1.0.2
|
||||
PKG_VERSION:=1.0.3
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ config ssdpd 'ssdp'
|
|||
option ipv6_enabled '0'
|
||||
option socket_path '/var/run/minissdpd.sock'
|
||||
option ttl '2'
|
||||
option interface ''
|
||||
option interface 'br-lan'
|
||||
|
|
|
|||
|
|
@ -55,12 +55,8 @@ configure_ssdp()
|
|||
procd_append_param command -t ${ttl}
|
||||
fi
|
||||
|
||||
if [ -z "${interface}" ]; then
|
||||
iface=$(uci -q get cwmp.cpe.default_lan_interface)
|
||||
interface=$(ifstatus ${iface} | jsonfilter -e @.device)
|
||||
fi
|
||||
|
||||
procd_append_param command -i ${interface}
|
||||
# If no interface is given defaults for br-lan
|
||||
procd_append_param command -i ${interface:-br-lan}
|
||||
procd_append_param command -d
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue