]> git.proxmox.com Git - mirror_frr.git/blobdiff - babeld/route.c
Merge pull request #2267 from donaldsharp/flim_flam
[mirror_frr.git] / babeld / route.c
index 501dd1f4dfb143e33291c1bd41159d7f444c86c0..bc7590fb39b4478e5f7fe8f24c9b4c515065f16c 100644 (file)
@@ -176,6 +176,7 @@ insert_route(struct babel_route *route)
             resize_route_table(max_route_slots < 1 ? 8 : 2 * max_route_slots);
         if(route_slots >= max_route_slots)
             return NULL;
+        assert(routes);
         route->next = NULL;
         if(n < route_slots)
             memmove(routes + n + 1, routes + n,