summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 6a897166cf..7ed3a41ae1 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -1746,7 +1746,7 @@ static void zread_nhg_del(ZAPI_HANDLER_ARGS)
* Delete the received nhg id
*/
- nhe = zebra_nhg_proto_del(id);
+ nhe = zebra_nhg_proto_del(id, proto);
if (nhe) {
zebra_nhg_decrement_ref(nhe);