From: Timo Teräs Date: Fri, 21 Apr 2017 11:56:45 +0000 (+0300) Subject: nhrp: notify 'tunnel protection' changes X-Git-Tag: frr-3.0-rc0~70^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=111aec1e42fd5f3130518a90e56a0dd3d4e48375;p=matthieu%2Ffrr.git nhrp: notify 'tunnel protection' changes to triggers refresh of IKE SAs immediately on this command --- diff --git a/nhrpd/nhrp_interface.c b/nhrpd/nhrp_interface.c index bbaa630cd5..58ad167549 100644 --- a/nhrpd/nhrp_interface.c +++ b/nhrpd/nhrp_interface.c @@ -393,6 +393,8 @@ void nhrp_interface_set_protection(struct interface *ifp, const char *profile, c if (nifp->ipsec_fallback_profile) free(nifp->ipsec_fallback_profile); nifp->ipsec_fallback_profile = fallback_profile ? strdup(fallback_profile) : NULL; + + notifier_call(&nifp->notifier_list, NOTIFY_INTERFACE_ADDRESS_CHANGED); } void nhrp_interface_set_source(struct interface *ifp, const char *ifname)