kernel-interface: get_address_by_ts() can tell if a returned IP is virtual
[strongswan.git] / src / libhydra / plugins / kernel_klips / kernel_klips_ipsec.c
index a120b3d..2d09d33 100644 (file)
@@ -2118,7 +2118,7 @@ METHOD(kernel_ipsec_t, add_policy, status_t,
                        this->install_routes)
                {
                        hydra->kernel_interface->get_address_by_ts(hydra->kernel_interface,
-                                                                                                          src_ts, &route->src_ip);
+                                                                                               src_ts, &route->src_ip, NULL);
                }
 
                if (!route->src_ip)