summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_dump.c
Commit message (Collapse)AuthorAgeFilesLines
* 2003-12-22 Christian Hammers <ch@lathspell.de>gdt2003-12-221-1/+7
| | | | | | * configure.ac (and everywhere a regular file is opened for writing): use file permissions from configure rather than compiled-in umask.
* 2003-11-10 Lorenzo Colitti <lorenzo@ripe.net>paul2003-11-101-2/+2
| | | | | * bgpd/bgp_dump.c: (bgp_dump_routes_entry) call dump_bgp_routes_attr() with a prefix.
* 2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>paul2003-10-181-5/+7
| | | | | | | | | | | | | | | 2003-10-18 Lorenzo Colitti <lorenzo@ripe.net> * bgpd/bgp_attr.c: (bgp_dump_routes_attr) Dont dump IPv4 nexthop for IP. Dump MP_NLRI attr with IPv6 next-hop for AF_INET6 address family prefixes. Accept prefix as argument. * bgpd/bgp_attr.c: modify bgp_dump_routes_attr declaration. * bgpd/bgp_dump.c: (bgp_dump_routes_entry) Modify calls to bgp_dump_routes_attr. (bgp_dump_common) Go by the family of the peering socket, not configured address family when dumping peering information. Add HAVE_IPV6 conditionals, eg missing from previous bgp interval patch.
* 2003-10-18 Lorenzo Colitti <lorenzo@ripe.net>paul2003-10-181-13/+36
| | | | | | | | | | * bgpd/bgp_dump.{c,h}: (bgp_dump_interval_add) Dump at discrete fixed intervals rather than fixed intervals from startup time. (bgp_dump_interval_func) Dont return immediately if file cant be openeded, but reschedule interval dumps, even - admin might fix problem in meantime. Close the dump file in between intervals. (bgp_dump_init) account for MSG header when initialising stream size.
* Hopefully fix the 'bgp dump routes-mrt' command to actually dump routes.paul2003-05-101-10/+23
| | | | | Should recognise the absence of an interval now and schedule one-shot dump. hopefully.
* Initial revisionpaul2002-12-131-0/+741