On Thu, 5 Mar 2015, John Crisp wrote:

Another query.

I am calling ipsec via a perl routine as below. rereadsecrets seems to
run ok, but auto --replace throws an error :

ipsec replace failed( error code 1280)

However, it seems to have completed correctly so my guess is this is
actually an 'OK' ? Is there any information on status/output codes ?

What is the output shown?

for non-existing connections, it seems to just return 1:

root@bofh:/home/paul# ipsec auto --replace foobar
conn 'foobar': not found (tried aliases)
root@bofh:/home/paul# echo $?
1

Paul
_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to