Browse Source

vpnc: corrected call to proto_add_host_dependency

lilik-openwrt-22.03
Daniel Gimpelevich 10 years ago
parent
commit
f1ee8796fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/vpnc/files/vpnc.sh

+ 1
- 1
net/vpnc/files/vpnc.sh View File

@ -42,7 +42,7 @@ proto_vpnc_setup() {
logger -t vpnc "initializing..."
serv_addr=
for ip in $(resolveip -t 10 "$server"); do
( proto_add_host_dependency "$config" "$ip" $interface )
( proto_add_host_dependency "vpn-$config" "$ip" $interface )
serv_addr=1
done
[ -n "$serv_addr" ] || {


Loading…
Cancel
Save