vpnc: corrected call to proto_add_host_dependency
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Fri, 10 Jul 2015 20:27:10 +0000 (13:27 -0700)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 3 Sep 2015 15:38:18 +0000 (17:38 +0200)
net/vpnc/files/vpnc.sh

index 31d0070dcf8a7c3753bd330a218de10a69a6a1a8..c408d78aecaec225022b27bbd9e2fab84634b82d 100755 (executable)
@@ -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" ] || {