aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/extract-dn.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-06-03 17:31:30 +0200
committerTobias Brunner <tobias@strongswan.org>2015-08-13 10:49:16 +0200
commitdc2fa791e4b914a0099469749648483acdef6fbb (patch)
treec2610515c8c5a7611c82585db4a3329bc1cfc0d8 /scripts/extract-dn.c
parent695112d7b8ea96f1c38f255cf404dfd661671e8d (diff)
downloadstrongswan-dc2fa791e4b914a0099469749648483acdef6fbb.tar.bz2
strongswan-dc2fa791e4b914a0099469749648483acdef6fbb.tar.xz
kernel-netlink: When adding a policy do an update if it already exists
This may be the case when SAs are reestablished after a crash of the IKE daemon. We could actually always do updates. The kernel doesn't care, the only difference is the possible EEXIST if XFRM_MSG_NEWPOLICY is used. The advantage of not doing this, though, is that we get a warning in the log if a policy already exists, as that should usually not be the case.
Diffstat (limited to 'scripts/extract-dn.c')
0 files changed, 0 insertions, 0 deletions