From f0a5b4cb19bd7ac46bb024dc14171d4fc4b9f73e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 7 Feb 2022 13:21:55 -0500 Subject: [PATCH] lib: Use AF_UNSPEC intead of setting to 0 Signed-off-by: Donald Sharp --- lib/filter_nb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filter_nb.c b/lib/filter_nb.c index 80ea7a57cb..35b97a9bde 100644 --- a/lib/filter_nb.c +++ b/lib/filter_nb.c @@ -1135,7 +1135,7 @@ static int lib_access_list_entry_any_destroy(struct nb_cb_destroy_args *args) f = nb_running_get_entry(args->dnode, NULL, true); fz = &f->u.zfilter; - fz->prefix.family = 0; + fz->prefix.family = AF_UNSPEC; acl_notify_route_map(f->acl, RMAP_EVENT_FILTER_DELETED); -- 2.39.5