mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 10:38:21 +04:00
Merge pull request #1858 from oneru/patch-1
Fwknop: Fix setting getting overwritten
This commit is contained in:
@@ -36,7 +36,7 @@ reload()
|
||||
gen_confs()
|
||||
{
|
||||
[ -f /tmp/access.conf.tmp ] && rm /tmp/access.conf.tmp
|
||||
if [`uci get fwknopd.@access[0].PCAP_INTF` = ""]
|
||||
if [ "`uci get fwknopd.@config[0].PCAP_INTF`" = ""]
|
||||
then
|
||||
. /lib/functions/network.sh
|
||||
network_get_physdev device wan
|
||||
|
||||
Reference in New Issue
Block a user