diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-21 13:47:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-21 13:47:17 +0200 |
commit | 63b02a77ca13359e136281af9d9edd3b7493b42d (patch) | |
tree | 67062f7b98d41b2f6e916141866e6c907126b50e /isisd | |
parent | Merge pull request #1013 from donaldsharp/versions (diff) | |
parent | redhat: ship IRDP module (diff) | |
download | frr-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.c | 4 |
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); |