aboutsummaryrefslogtreecommitdiffstats
path: root/dmvpn-ca
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2018-09-05 10:29:24 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2018-09-05 10:29:33 +0300
commitf76bbfdf9d313f571b2a2614c12eeaf8f03c00cf (patch)
tree063816d7c02422d9bec395c7f930b560b1392406 /dmvpn-ca
parentab2ac08bacbc5eda6d6aba657d3db2b5a185b00e (diff)
downloaddmvpn-tools-f76bbfdf9d313f571b2a2614c12eeaf8f03c00cf.tar.bz2
dmvpn-tools-f76bbfdf9d313f571b2a2614c12eeaf8f03c00cf.tar.xz
dmvpn-ca: scan_vpnc: fix error message
Diffstat (limited to 'dmvpn-ca')
-rwxr-xr-xdmvpn-ca2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmvpn-ca b/dmvpn-ca
index 7e1b122..fa4d966 100755
--- a/dmvpn-ca
+++ b/dmvpn-ca
@@ -536,7 +536,7 @@ function scan_vpnc(options)
end
if res.id and not exists('vpnc', res, not options.retired) then
- error('Invalid '..obj..' number: '..vpnc)
+ error('Invalid '..obj..' number: '..res.id)
end
return res