diff options
-rw-r--r-- | debian/patches/1004-vyos-terminate-connections-source-dest.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/1004-vyos-terminate-connections-source-dest.patch b/debian/patches/1004-vyos-terminate-connections-source-dest.patch index a04ca7b9f..a967633a6 100644 --- a/debian/patches/1004-vyos-terminate-connections-source-dest.patch +++ b/debian/patches/1004-vyos-terminate-connections-source-dest.patch @@ -48,7 +48,7 @@ diff -ru a/src/libcharon/plugins/vici/vici_control.c b/src/libcharon/plugins/vic } + else if (my_host && other_host) + { -+ if (my_host && !streq(my_host, ike_sa->get_my_host(ike_sa)) && other_host && !streq(other_host, ike_sa->get_other_host(ike_sa))) ++ if (!my_host->ip_equals(my_host, ike_sa->get_my_host(ike_sa)) || !other_host->ip_equals(other_host, ike_sa->get_other_host(ike_sa))) + { + continue; + } |