tkm: Use the inbound flag do determine peer role in CHILD_SA exchange
authorMartin Willi <martin@revosec.ch>
Mon, 9 Mar 2015 16:44:55 +0000 (17:44 +0100)
committerMartin Willi <martin@revosec.ch>
Mon, 9 Mar 2015 17:18:20 +0000 (18:18 +0100)
commit68e5ada0058a52a402966b616a73a290053a210d
tree1583391ae005f2aad54051f6b9aca27cff843206
parentacad5e9f512cca4141e8067789d9b421a36cf191
tkm: Use the inbound flag do determine peer role in CHILD_SA exchange

This was not available during initial implementation, but fits just fine to
avoid reconstructing the peer role.
src/charon-tkm/src/tkm/tkm_kernel_ipsec.c