summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-21 13:47:17 +0200
committerGitHub <noreply@github.com>2017-08-21 13:47:17 +0200
commit63b02a77ca13359e136281af9d9edd3b7493b42d (patch)
tree67062f7b98d41b2f6e916141866e6c907126b50e /isisd
parentMerge pull request #1013 from donaldsharp/versions (diff)
parentredhat: ship IRDP module (diff)
downloadfrr-63b02a77ca13359e136281af9d9edd3b7493b42d.tar.xz
frr-63b02a77ca13359e136281af9d9edd3b7493b42d.zip
Merge pull request #929 from opensourcerouting/hooks-doc-irdp
hook improvements, more hooks, doc example, IRDP cleanup
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_circuit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c
index 9622dcdbc..a1aa87e39 100644
--- a/isisd/isis_circuit.c
+++ b/isisd/isis_circuit.c
@@ -1336,8 +1336,8 @@ int isis_if_delete_hook(struct interface *ifp)
void isis_circuit_init()
{
/* Initialize Zebra interface data structure */
- if_add_hook(IF_NEW_HOOK, isis_if_new_hook);
- if_add_hook(IF_DELETE_HOOK, isis_if_delete_hook);
+ hook_register_prio(if_add, 0, isis_if_new_hook);
+ hook_register_prio(if_del, 0, isis_if_delete_hook);
/* Install interface node */
install_node(&interface_node, isis_interface_config_write);