summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
AgeCommit message (Expand)Author
2020-01-21Report sent or received errors (normally not both at the same time).Claudio Jeker
2020-01-21Update get_errstr() to report errors like log_notification() in bgpd.Claudio Jeker
2020-01-16when parsing ASN, don't \0-split the original string, as it may be neededTheo de Raadt
2020-01-09Adjust time printing to the changes done in bgpd. Most timestamps areClaudio Jeker
2019-12-31Rename print_timer() to show_timer() and move it to output.cClaudio Jeker
2019-12-20Split out show functions into a new file called output.cClaudio Jeker
2019-12-20Shuffle the fmt_timeframe functions and change fmt_timeframe() to avoidClaudio Jeker
2019-12-20Change show_mrt_dump() to call show_rib() instead of the internalClaudio Jeker
2019-12-19Change the way individual show functions are called. Up until now an imsgClaudio Jeker
2019-12-13Remove some more show_*_head() functions. Compiler agrees.Claudio Jeker
2019-12-13Remove show_rib_summary_head() it is no longer used.Claudio Jeker
2019-12-13First step of refactoring the output processing of bgpctl. MoveClaudio Jeker
2019-11-27Adjust after changing the struct ctl_show_rib (removal of aspath_len)Claudio Jeker
2019-10-19The size limit of the shutdown reason was relaxed to 255 characters butClaudio Jeker
2019-09-27Implement 'bgpctl show rib 8.8.8.8 or-shorter' to show all routes coveringClaudio Jeker
2019-09-25also show peer AS and description in "bgpctl sh nei group XXX terse" outputStuart Henderson
2019-09-24add the neighbour's address, to disambiguate peers in the output fromStuart Henderson
2019-08-05Add a comment why network_bulk() is not using send_filterset(). UsingClaudio Jeker
2019-07-03Add a default case to subtype switch in the table v2 parser.Claudio Jeker
2019-07-03Remove unneccessary type castClaudio Jeker
2019-06-28The bgpctl parser can not handle neighbor and neighbors at the same time.Claudio Jeker
2019-06-28Implement the bits and pieces that are needed to dump MRT_DUMP_V2_RIB_GENERICClaudio Jeker
2019-06-25Remove irrfilter from bgpctl. The current code is not very useful.Claudio Jeker
2019-06-17Cleanup some spaces here as well. Again no binary change.Claudio Jeker
2019-06-17Adjust and sync the code with the new struct community code from bgpd.Claudio Jeker
2019-05-31similar to note recently added to bgpd.conf(5), mention in docs forStuart Henderson
2019-05-23Implement bgpctl show mrt neighbors, a command to print the neighbor tableClaudio Jeker
2019-05-14make "bgpctl sh rib detail *out*" look less confusingSebastian Benoit
2019-05-03missing breakJonathan Gray
2019-04-25Adjust the MRT notification parser similar to bgpd to support extendedClaudio Jeker
2019-04-10Instead of a (ulong) case just use %zu in printf and remove the cast.Claudio Jeker
2019-04-10Include endian.h since htobe* or be*toh is used. Helps with protable.Claudio Jeker
2019-02-27Adjust to the last bgpd change. sa2addr gets an extra agrument andClaudio Jeker
2019-02-25Use struct bgpd_addr instead of a union of sockaddrs to store addressesClaudio Jeker
2019-02-21type is not used here. Still keep a comment around to keep the codeClaudio Jeker
2019-02-21Adjust bgpctl to the new ctl_show_interface struct that is sent instead ofClaudio Jeker
2019-02-19Switch betoh64 to the posix be64toh also remove some casts since we nowClaudio Jeker
2019-02-18Bring in fixes in the community parsing code done in parse.y and fixClaudio Jeker
2019-02-11Adjust to last bgpd commit changing the MPLS VPN configuration.Claudio Jeker
2019-01-20Allow 'neighbor descripton' to be used like neighbor group descriptionClaudio Jeker
2018-12-19Adjust bgpctl now that filter_extcommunity is no more.Claudio Jeker
2018-12-12zap trailing whitespace;Jason McIntyre
2018-12-11bgpctl can no long reuse the aspath_match function from bgpd so move theClaudio Jeker
2018-12-05Set the routing table when adding a networkdenis
2018-11-28Adjust bgpctl to handle the community changes done in bgpd.Claudio Jeker
2018-11-01fix typosdenis
2018-10-31Remove extra ,Claudio Jeker
2018-10-31Show the number of references hold by struct rde_aspath objects (which shouldClaudio Jeker
2018-10-26Show how much memory is used for *-sets.Claudio Jeker
2018-10-03add filter option based on origin validation statedenis