summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_interface.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-04-21 13:56:45 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-25 14:33:33 +0200
commit111aec1e42fd5f3130518a90e56a0dd3d4e48375 (patch)
treeb508a3f505ca9f792cbd4ed2c6d169307d330677 /nhrpd/nhrp_interface.c
parentnhrp: explicitly cast ints to size_t for vici_request_vc va_list handling (diff)
downloadfrr-111aec1e42fd5f3130518a90e56a0dd3d4e48375.tar.xz
frr-111aec1e42fd5f3130518a90e56a0dd3d4e48375.zip
nhrp: notify 'tunnel protection' changes
to triggers refresh of IKE SAs immediately on this command
Diffstat (limited to 'nhrpd/nhrp_interface.c')
-rw-r--r--nhrpd/nhrp_interface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nhrpd/nhrp_interface.c b/nhrpd/nhrp_interface.c
index bbaa630cd..58ad16754 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)