Found by accident or actually a tree where there is no struct aspath_queue
anymore. pathtable.path_hashtbl is a struct aspath_head.
OK?
--
:wq Claudio
Index: rde_rib.c
===================================================================
RCS file: /cvs/src/usr.sbin/bgpd/rde_rib.c,v
retrieving revision 1.180
diff -u -p -r1.180 rde_rib.c
--- rde_rib.c 24 Oct 2018 08:26:37 -0000 1.180
+++ rde_rib.c 26 Oct 2018 07:00:51 -0000
@@ -477,7 +477,7 @@ path_init(u_int32_t hashsize)
for (hs = 1; hs < hashsize; hs <<= 1)
;
- pathtable.path_hashtbl = calloc(hs, sizeof(struct aspath_queue));
+ pathtable.path_hashtbl = calloc(hs, sizeof(*pathtable.path_hashtbl));
if (pathtable.path_hashtbl == NULL)
fatal("path_init");