libipsec: Instruct ESP sender whether to use UDP encapsulation

This commit is contained in:
Tobias Brunner
2023-05-23 13:19:47 +02:00
parent 61f9843453
commit 8ddfaf5857
4 changed files with 11 additions and 8 deletions
@@ -95,7 +95,7 @@ static bool tun_entry_equals(tun_entry_t *a, tun_entry_t *b)
}
CALLBACK(send_esp, void,
void *data, esp_packet_t *packet)
void *data, esp_packet_t *packet, bool encap)
{
charon->sender->send_no_marker(charon->sender, (packet_t*)packet);
}