}
if (data->encap)
{
- DBG1 (DBG_KNL, "UDP encap!!!!!!!!!!!!!!!!!!!!");
+ DBG1 (DBG_KNL, "UDP encap");
flags |= IPSEC_API_SAD_FLAG_UDP_ENCAP;
+ mp->entry.udp_src_port = htons (natt_port);
+ mp->entry.udp_dst_port = htons (natt_port);
}
mp->entry.flags = htonl (flags);