]> git.puffer.fish Git - matthieu/frr.git/commitdiff
nhrp: notify 'tunnel protection' changes
authorTimo Teräs <timo.teras@iki.fi>
Fri, 21 Apr 2017 11:56:45 +0000 (14:56 +0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 25 Apr 2017 12:33:33 +0000 (08:33 -0400)
to triggers refresh of IKE SAs immediately on this command

nhrpd/nhrp_interface.c

index bbaa630cd5ec098e1a53ee0b0ca9ed84975fbc3e..58ad1675498da2c1af91be0fb8d0b584ea17eb3b 100644 (file)
@@ -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)