miniupnpd: fix sh syntax error

Add "use_stun" default to prevent sh: out of range error introduced by
c61614a84

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit 0f1e7d32af)
This commit is contained in:
Kevin Darbyshire-Bryant
2020-02-14 19:23:06 +00:00
committed by Rosen Penev
parent 1fe1c80d66
commit 83ff6c38f2
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -78,6 +78,7 @@ upnpd() {
config_get serial_number config serial_number
config_get model_number config model_number
config_get uuid config uuid
config_get use_stun config use_stun 0
config_get stun_host config stun_host
config_get stun_port config stun_port
config_get notify_interval config notify_interval