found by llvm
ok?

Index: rde_rib.c
===================================================================
RCS file: /cvs/src/usr.sbin/bgpd/rde_rib.c,v
retrieving revision 1.134
diff -u -p -r1.134 rde_rib.c
--- rde_rib.c   12 Sep 2012 05:56:22 -0000      1.134
+++ rde_rib.c   14 Mar 2013 13:07:30 -0000
@@ -1052,7 +1052,7 @@ nexthop_init(u_int32_t hashsize)
 
        for (hs = 1; hs < hashsize; hs <<= 1)
                ;
-       nexthoptable.nexthop_hashtbl = calloc(hs, sizeof(struct nexthop_table));
+       nexthoptable.nexthop_hashtbl = calloc(hs, sizeof(struct nexthop_head));
        if (nexthoptable.nexthop_hashtbl == NULL)
                fatal("nextop_init");
 

-- 
I'm not entirely sure you are real.

Reply via email to