Merge pull request #1858 from oneru/patch-1
Fwknop: Fix setting getting overwritten
This commit is contained in:
commit
52585203a1
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ reload()
|
||||||
gen_confs()
|
gen_confs()
|
||||||
{
|
{
|
||||||
[ -f /tmp/access.conf.tmp ] && rm /tmp/access.conf.tmp
|
[ -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
|
then
|
||||||
. /lib/functions/network.sh
|
. /lib/functions/network.sh
|
||||||
network_get_physdev device wan
|
network_get_physdev device wan
|
||||||
|
|
Loading…
Reference in a new issue