aboutsummaryrefslogtreecommitdiffstats
path: root/dmvpn-ca
diff options
context:
space:
mode:
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