summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorMitesh Kanjariya <mitesh@cumulusnetworks.com>2017-08-28 18:19:03 -0700
committerGitHub <noreply@github.com>2017-08-28 18:19:03 -0700
commit09fdc88c8cb0cd4169ae97b652d82f6a174a4041 (patch)
treece312038b12ce5128d375fa075c52ce30cf64207 /ospfd/ospf_interface.c
parent6b3ee3a0b013e580abbce83ae46e4ed2bcf5f7a7 (diff)
parent126ee21d2ed9451aefab869c482bb28c6b4f6085 (diff)
Merge branch 'master' into dev-master
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r--ospfd/ospf_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
index 4ea8ec26f2..54639afd6c 100644
--- a/ospfd/ospf_interface.c
+++ b/ospfd/ospf_interface.c
@@ -1163,6 +1163,6 @@ void ospf_if_init()
{
/* Initialize Zebra interface data structure. */
om->iflist = vrf_iflist(VRF_DEFAULT);
- if_add_hook(IF_NEW_HOOK, ospf_if_new_hook);
- if_add_hook(IF_DELETE_HOOK, ospf_if_delete_hook);
+ hook_register_prio(if_add, 0, ospf_if_new_hook);
+ hook_register_prio(if_del, 0, ospf_if_delete_hook);
}