summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/bgpctl.c
AgeCommit message (Collapse)Author
2004-10-26ease the parser a bit.Henning Brauer
parse() now wants the first argv member to be the first argument it parses, i. e. it does not skip over argv[0] any more, caller has to account for that. the caller does the usual getopt followed by argv += optind; argc -= optind; dance so this is accounted for. in parse() don't use a seperate curarg counter, just in/decrease argv/argc claudio ok
2004-10-26in the "show summary" view print the peer descr instead of the IP (if a descrHenning Brauer
is given in the config, fall back to IP otherwise) new -n switch to force display of IPs claudio ok
2004-10-26do /%u instead of /%6u for max_prefix, looks better, claudio okHenning Brauer
2004-09-23cosmeticsHenning Brauer
2004-09-21Don't pad the prefix count with 0. OK henning@Claudio Jeker
2004-09-16malloc ibuf instead of having it staticallyHenning Brauer
2004-09-16cope with imsg API changeHenning Brauer
2004-08-20add support for "bgpctl neighbor 1.2.3.4 clear", takes session down & up againHenning Brauer
claudio ok
2004-08-06In bgpctl show summary report the current and max prefix count if state isClaudio Jeker
established. OK henning@
2004-05-21Make it possible to add, delete, flush and show network announcements.Claudio Jeker
OK henning@
2004-05-20check for strdup(3) failure was missing in one case, catched byHenning Brauer
Andrey Matveev <andrushock@korovino.net>
2004-05-06print Multiprotocol capabilities slightly nicerHenning Brauer
2004-05-01becuase lint says so; henning okTheo de Raadt
2004-04-28keep route refresh counters into account when building sums, andHenning Brauer
print route refresh counters in the neighbor view
2004-04-27print route refresh capability if presentHenning Brauer
2004-04-25there's a slight difference between teh local and the remote sockaddr...Henning Brauer
2004-04-25correctly pritn netmask with template neighbors, prettify output overall,Henning Brauer
and print Template / Cloned flags in the neigbor view, claudio ok
2004-04-25use getnameinfo here too, itojun & markus okHenning Brauer
2004-04-16in the neighbor view, add support for local/remote addr beeing v6 onesHenning Brauer
2004-04-13print the MP capabilities as the neighbor announced in the show neighborHenning Brauer
display, claudio ok
2004-03-11Plugging memory leaks is OK but don't break intended behaviour. So this timeClaudio Jeker
do it correctly.
2004-03-11Use aspath_asprint() instead of this malloc, aspath_snprint() mess. OK henning@Claudio Jeker
2004-03-11Plug another memory leak. OK henning@Claudio Jeker
2004-03-11check for malloc failure...Henning Brauer
2004-03-02KNFHenning Brauer
2004-03-02show rib A.B.C.D and show rib A.B.C.D/N [all] support. Now the most importantClaudio Jeker
show commands are available. OK henning@
2004-02-26Implement "show rib" and "show rib <astype> <AS>" commands to dump theClaudio Jeker
RIB. OK henning@
2004-02-24print # of queued outgoing messages in show summary view, claudio okHenning Brauer
2004-01-29KNFHenning Brauer
2004-01-27don't use log_ntoa, claudio okHenning Brauer
2004-01-27struct kroute changed, copeHenning Brauer
ok claudio
2004-01-27missing exit() at end of mainHenning Brauer
2004-01-27catch up with changes in struct peer_config, ok claudioHenning Brauer
2004-01-22print the interface state wrt the nexthop verification in the show interfaceHenning Brauer
output. makes quite some sense so that not every reader has to know the algorithm for deciding on the interface state...
2004-01-21there's a "slight" difference between our log_err() and the system's err()...Henning Brauer
the latter does not return, so we don't need to exit() afterwards. one of the two spotted by jared
2004-01-21new parser.Henning Brauer
completely table driven and not wired into the action code like the previous parser... i wanted to do this for some time, and now it was just due. ok claudio@
2004-01-20show usage if called without commandHenning Brauer
2004-01-20args, unbreakHenning Brauer
2004-01-20getopt & usage, prodded by theoHenning Brauer
2004-01-19for show interface, print the link status and speed as well. we needHenning Brauer
to do this depending on the media type, so print that as well if known. design following a discussion with theo claudio ok
2004-01-17print interface name instead of indexHenning Brauer
2004-01-17implement "show interfaces"Henning Brauer
2004-01-11+ show nexthopHenning Brauer
2004-01-11print local/remote IP/port with the detailed neighbor viewHenning Brauer
ok claudio@
2004-01-10as buf_close does not implictely writes any more, imsg_compose doesn'tHenning Brauer
either, so we need to call msgbuf_write explictely now. ok claudio@
2004-01-09show fib connected|static|bgp|nexthop|[address]Henning Brauer
ok claudio@
2004-01-09a sample "show fib" implementationHenning Brauer
ok claudio@
2004-01-07KNFHenning Brauer
2004-01-06neighbor 1.2.3.4 up/downHenning Brauer
ok claudio@
2004-01-06print intervals with the timersHenning Brauer