fix spurious error setting SA on ipsec intf 85/16385/2
authorMatthew Smith <mgsmith@netgate.com>
Wed, 5 Dec 2018 20:41:21 +0000 (14:41 -0600)
committerDamjan Marion <dmarion@me.com>
Wed, 12 Dec 2018 00:34:27 +0000 (00:34 +0000)
commit41b25cf6380d1420b24e191cd7e95cbce1e7cfdc
tree40f1d1d513321cb5bf75a610c204a0fbdee8399d
parent057b3565a09b62c9415a44a99f43ad891d864ca5
fix spurious error setting SA on ipsec intf

Reverse the polarity on test to determine if old SA session
deletion succeeded. 0 == success, not failure.

Change-Id: I499cb04c7f13165e6c92367d4385057b77fe3836
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/ipsec/ipsec_if.c