child-sa: Only reinstall VIPs if any are passed
This commit is contained in:
1 parent
60caa4f6c6
commit
de69d25596
1 file changed
+4
-1
@@ -1605,7 +1605,10 @@ METHOD(child_sa_t, update, status_t,
|
|||||||
|
|
||||||
/* we reinstall the virtual IP to handle interface roaming
|
/* we reinstall the virtual IP to handle interface roaming
|
||||||
* correctly */
|
* correctly */
|
||||||
vips->invoke_function(vips, reinstall_vip, me);
|
if (vips)
|
||||||
|
{
|
||||||
|
vips->invoke_function(vips, reinstall_vip, me);
|
||||||
|
}
|
||||||
|
|
||||||
/* reinstall updated policies */
|
/* reinstall updated policies */
|
||||||
install_policies_internal(this, me, other, my_ts, other_ts,
|
install_policies_internal(this, me, other, my_ts, other_ts,
|
||||||
|
|||||||
Reference in new issue
Block a user