summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6ctl
AgeCommit message (Collapse)Author
2014-11-17Always free "ps" after usage.Tobias Stoeckmann
ok stsp
2013-11-13handle msgbuf_write() returning EAGAIN, looks right to deraadtStuart Henderson
2013-03-22tweak previous; ok sthenJason McIntyre
2013-03-22Allow use of an alternative control socket, ported from ospfd. ok claudio@Stuart Henderson
2012-10-21Move common ospf6d functions for ipv6 address manipulation intoAlexander Bluhm
util.c to reuse them in ospf6ctl. OK claudio@
2011-05-05order static typesClaudio Jeker
2011-03-07continguous -> contiguousHenning Brauer
From: "Anthony J. Bentley" <anthonyjbentley at gmail dot com>
2010-09-04move some things around to make intentions clear. not really a functionalTed Unangst
change. ok claudio
2010-07-20Another hand rolled offsetof(), replace with mask2prefixlen from kroute.cClaudio Jeker
which was copied from bgpd. Found by deraadt@
2010-06-12Print additional new line after 'Number of Links' in show databaseAlexander Bluhm
router. This separates the router and link blocks like ospfctl. ok claudio@
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
2010-05-10Mention that commands may be abbreviated. ok claudio@Stuart Henderson
2010-02-25Fix AS-ext LSA detailed output. While there rework the way we printClaudio Jeker
prefixes a bit. The output is now a bit more compact.
2010-02-23Unbreak tree. struct lsa_asext changed so we need to adjust the outputClaudio Jeker
function. Correct fix will follow but this compiles again.
2010-01-13Fix problems with incomplete arrays that was fixed in other ospfctlJonathan Gray
based programs a few months back. ok claudio@
2009-12-23Print more addresses with scope.Claudio Jeker
2009-12-22Use log_in6addr_scope() to print the correct nexthop.Claudio Jeker
2009-11-03sort;Jason McIntyre
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2009-09-14Switch the various link state printing codes to use the new if_mediaClaudio Jeker
independent LINK_STATE_DESCRIPTIONS. Code is now more or less a one to one copy of get_linkstate() in route/route.c. OK henning, michele, sthen, deraadt
2009-07-28Track renamed struct member (r1.15 of ospf6d/ospf6.h) to fix compilation.Claudio Jeker
From stsp@
2009-06-06make ospf6ctl/ospf6d imsg-in-a-lib ready too.Eric Faurot
ospf6ctl is already broken in tree (not connected to build). ok pyr@
2009-03-29Stop using the att_rtr member of struct lsa_net, we're going to remove it.Stefan Sperling
Calculate offsets with a struct lsa_net_link pointer instead. ok claudio@
2009-03-29ospf6ctl had lsa_rtr_link fields mixed up.Stefan Sperling
It printed iface_id as the neighbour's interface ID, but iface_id is in fact the ID of the advertising router's interface being described. ok claudio@
2009-01-30Add missing free. Found by norby@ in ospfctl, same fix.Stefan Sperling
2009-01-29One more step on the long road of beautifying ospf6ctl output:Stefan Sperling
The Link State ID in OSPFv3 is just a unique identifier and has lost its semantic meaning for a most LSA types. Print the correct semantic meaning for those that still have one, and don't print any additional information for those that don't. ok claudio@
2009-01-29Don't print a header line above every individual Intra-Area-Prefix LSAStefan Sperling
in the detailed DB output. Now behaves the same as with other LSA types.
2009-01-29Fix offset calculation for lsa_prefix structs.Stefan Sperling
ok claudio@
2009-01-28Add 'show database intra' command, which displays Intra-Area-Prefix LSAs.Stefan Sperling
ok claudio@
2009-01-28Print the right header for Intra-Area-Prefix LSAs when showing the database.Stefan Sperling
2009-01-01I removed prefix from lsa_prefix but this code was still using it. UnbreakClaudio Jeker
it by copying LSA_PREFIXSIZE(prefixlen) bytes after the lsa_prefix into a struct in6_addr and print that. Found by stsp@ OK stsp@
2008-12-30Add code to show Link LSA. Make the other detailed views a bit shorter byClaudio Jeker
removing an empty newline.
2008-12-28a few documentation updates for opsf6(8) and ospf6ctl(8): remove anIgor Sobrado
existing (but undocumented) flag from the usage of ospf6d; documentation tweaks; while here, synchronize synopsis and usage. ok claudio@
2008-12-28correct some outputClaudio Jeker
2008-12-28Correctly display net lsa and the LSA type is now 16bit. This removesClaudio Jeker
the duplicate database headers seen all the time.
2008-12-28Sync up with the last commit. Some flags are now gone.Claudio Jeker
From Stefan Sperling's diff collection
2007-12-13struct kif is gone so adapt to the situation. show interface is gone forClaudio Jeker
now. OK norby@
2007-11-27update "show database" output (work in progress) but now link local LSAClaudio Jeker
are printed again.
2007-10-16Fix show database router output.Claudio Jeker
2007-10-16Make ospf6ctl compile again and especially make ospf6ctl show database workClaudio Jeker
and so stuff starts to show up in the database: Link ID Adv Router Age Seq# Checksum 0.0.0.1 255.1.1.1 3 0x8000028e 0xc7b3 0.0.0.0 255.1.1.1 3 0x8000027f 0xade8
2007-10-16Change LSA type to 16 bit and use the new defines recently comitted toEsben Norby
ospf6d(8). ok claudio@
2007-10-16Adapt to the changes in ospf6d. Fix more IPv6 addressing and probably breakClaudio Jeker
some currently not working commands but show interface and show neighbor should work. OK norby@
2007-10-16Fix the output from "show neighbor".Esben Norby
It is not possible to fit the address of the neighbor(s) in the short list, so we loose it... It is still possible to see the IP address of the neighbor in the output of "show neighbor detail". ok claudio@
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-14please lintTheo de Raadt
2007-10-13should not be in the treeTheo de Raadt
2007-10-12Sanitize the output of "show interface detail".Esben Norby
2007-10-12Properly format the output of "show interface".Esben Norby
In order to make room for the longer IPv6 addresses in the output, the two collumns nc and ac must go. Neighbor and Adjacent Neighbor Count is still avalable in "show interface detail". ok claudio@