Merge pull request #2670 from oneru/for-15.05

Fwknop: Fix setting getting overwritten
This commit is contained in:
Hannu Nyman 2016-05-08 21:41:04 +03:00
commit 9aa63712b3
1 changed files with 1 additions and 1 deletions

View File

@ -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 [ -z "$( uci get fwknopd.@config[0].PCAP_INTF )" ]
then
. /lib/functions/network.sh
network_get_physdev device wan