bgpd: Fix buffer overflow error in bgp_dump_routes_func

Now if the number of entries for some prefix is too large, multiple
TABLE_DUMP_V2 records are created.  In the previous version in such
situation bgpd crashed with SIGABRT.
1 file changed