diff --git a/net/vpnc/files/vpnc.sh b/net/vpnc/files/vpnc.sh index 31d0070dc..c408d78ae 100755 --- a/net/vpnc/files/vpnc.sh +++ b/net/vpnc/files/vpnc.sh @@ -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" ] || {