Fix bug in key calculation for IPsec tunnel interface 44/9244/2
authorMatthew Smith <mgsmith@netgate.com>
Mon, 6 Nov 2017 18:12:13 +0000 (12:12 -0600)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 10 Nov 2017 19:50:44 +0000 (19:50 +0000)
commit890955866f5953727a782363cf3ece051ae7d4c5
tree84223fc6ead942cff43cb436d713bf7e04096c12
parent6e8c6679883f59542d85d1de3edabc7e811108d2
Fix bug in key calculation for IPsec tunnel interface

When IPsec tunnel interface has the inbound SA updated,
the key used to find the right interface for inbound
packets was being generated using the destination
address instead of the source.

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