naddy
f97418dd22
ospf6ctl: fix -Wunused-but-set-variable warning
...
ok guenther@
2022-01-20 14:12:55 +00:00
denis
55dcbf22b1
Handle connected routes as ospfd(8) does.
...
OK remi@
2020-04-05 18:19:04 +00:00
remi
96950f83f8
Allow specifying area by number as well as id. No changes to outputs.
...
reads OK to kn@
OK denis@
2019-05-26 09:27:09 +00:00
remi
5d393f89df
Add support for rdomains.
...
small quirk from tb@
ok phessler@
2018-07-12 13:45:03 +00:00
remi
e499868040
document missing database filters
...
ok stsp@ claudio@ jca@
2018-06-06 05:52:59 +00:00
remi
8e35e101fc
print metric for Intra-Area-Prefix LSAs
...
ok stsp@ claudio@ jca@
2018-06-06 05:51:43 +00:00
jca
eb814241c4
Mention that "reload" is disabled; ok jmc@
2017-11-05 17:45:02 +00:00
jca
8bf9509a09
Disable config reload, ospf6d just exits on reload with simple setups.
...
And fixing this doesn't appear trivial. Discussed with a bunch at
p2k17, ok phessler@ denis@ benno@
2017-11-05 16:56:02 +00:00
benno
73094d71c4
fix the else case (i.e. LSA_IS_SCOPE_AS) where header could remain
...
uninitialized. found by clang.
ok claudio@
2017-08-12 22:09:54 +00:00
friehm
afd0ab5d3d
Import route priority support from ospfd to ospf6d.
...
Also remove the RTF_UP flag from hdr.rtm_flags in send_rtmsg() since
ospfd and bgpd don't set the flag.
OK bluhm@ claudio@
2017-06-19 19:55:57 +00:00
jca
37f8d125bd
Also print the mtu in detailed interface info.
...
Copied on the diff from Remi Locherer for ospfctl. ok benno@ claudio@
2016-12-22 23:03:55 +00:00
benno
e83d351552
work on making log.c similar in all daemons:
...
move daemon-local functions into new logmsg.c, and reduce
the (mostly whitespace) differences so that log.c's can be diffed easily.
ok claudio@, feedback from henning@, deraadt@, reyk@
2016-09-02 14:06:35 +00:00
claudio
262992b268
EAGAIN handling for imsg_read. OK henning@ benno@
2015-12-05 13:12:40 +00:00
deraadt
a18c3fe36e
if_indextoname() was fixed a while back, do not need to pledge "route"
...
ok claudio
2015-12-03 17:16:39 +00:00
benno
becb4c8c00
pledge("stdio route") needed here, because ipv6
...
ok deraadt@
2015-10-10 00:19:52 +00:00
stsp
18ffdd9451
As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d.
...
And some ifmedia64 fixes.
"move forward" deraadt@
2015-09-27 17:31:50 +00:00
deraadt
e5605ae36f
match a few if_media uint64_t conversions; ok miod
2015-09-13 11:13:12 +00:00
sobrado
0037dff8df
use file system path (.Pa) semantic markup macros where appropriate.
2015-07-27 18:48:04 +00:00
tobias
23d867c2f0
Always free "ps" after usage.
...
ok stsp
2014-11-17 21:53:55 +00:00
sthen
c0dbf5cffc
handle msgbuf_write() returning EAGAIN, looks right to deraadt
2013-11-13 22:52:41 +00:00
jmc
ab64e9cdb4
tweak previous; ok sthen
2013-03-22 17:45:30 +00:00
sthen
c2ca8945d3
Allow use of an alternative control socket, ported from ospfd. ok claudio@
2013-03-22 14:25:31 +00:00
bluhm
5e642944fa
Move common ospf6d functions for ipv6 address manipulation into
...
util.c to reuse them in ospf6ctl.
OK claudio@
2012-10-21 21:30:44 +00:00
claudio
7db04f172a
order static types
2011-05-05 15:58:53 +00:00
henning
30f6eda43a
continguous -> contiguous
...
From: "Anthony J. Bentley" <anthonyjbentley at gmail dot com>
2011-03-07 07:43:02 +00:00
tedu
6be5843ec6
move some things around to make intentions clear. not really a functional
...
change. ok claudio
2010-09-04 21:31:04 +00:00
claudio
1c6cf06e29
Another hand rolled offsetof(), replace with mask2prefixlen from kroute.c
...
which was copied from bgpd. Found by deraadt@
2010-07-20 05:26:06 +00:00
bluhm
4091c10409
Print additional new line after 'Number of Links' in show database
...
router. This separates the router and link blocks like ospfctl.
ok claudio@
2010-06-12 09:48:39 +00:00
nicm
dfaf6462d3
Move imsg into libutil and add a man page.
...
Minor bump for libutil.
Previous versions of this diff and man page looked at by various people.
"you should just commit" deraadt
2010-05-26 16:44:32 +00:00
sthen
07646b1e84
Mention that commands may be abbreviated. ok claudio@
2010-05-10 18:46:07 +00:00
claudio
1aff836dd2
Fix AS-ext LSA detailed output. While there rework the way we print
...
prefixes a bit. The output is now a bit more compact.
2010-02-25 16:40:23 +00:00
claudio
bbba73a9bb
Unbreak tree. struct lsa_asext changed so we need to adjust the output
...
function. Correct fix will follow but this compiles again.
2010-02-23 16:32:55 +00:00
jsg
4b80bbd077
Fix problems with incomplete arrays that was fixed in other ospfctl
...
based programs a few months back.
ok claudio@
2010-01-13 11:33:12 +00:00
claudio
5d8c2b7fc8
Print more addresses with scope.
2009-12-23 18:01:31 +00:00
claudio
0a08a1b1b2
Use log_in6addr_scope() to print the correct nexthop.
2009-12-22 17:55:04 +00:00
jmc
be74ec1a67
sort;
2009-11-03 08:09:15 +00:00
claudio
c331907069
Implement "log verbose" and "log brief" to enable or disable verbose debug
...
logging. henning, sthen, michele like the idea
2009-11-02 20:23:29 +00:00
sobrado
f829369e17
write UNIX-domain in a more consistent way; while here, replace a
...
few remaining ".Tn UNIX" macros with ".Ux" ones.
pointed out by ratchov@, thanks!
ok jmc@
2009-10-22 15:02:12 +00:00
sobrado
d9f1e4116e
use the UNIX-related macros (.At and .Ux) where appropriate.
...
ok jmc@
2009-10-22 12:35:53 +00:00
claudio
0f617141dd
Switch the various link state printing codes to use the new if_media
...
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-09-14 11:49:25 +00:00
claudio
e0e6f38147
Track renamed struct member (r1.15 of ospf6d/ospf6.h) to fix compilation.
...
From stsp@
2009-07-28 19:05:22 +00:00
eric
f78850ef87
make ospf6ctl/ospf6d imsg-in-a-lib ready too.
...
ospf6ctl is already broken in tree (not connected to build).
ok pyr@
2009-06-06 09:02:46 +00:00
stsp
0f96e20c91
Stop using the att_rtr member of struct lsa_net, we're going to remove it.
...
Calculate offsets with a struct lsa_net_link pointer instead.
ok claudio@
2009-03-29 18:31:47 +00:00
stsp
3ded35df6b
ospf6ctl had lsa_rtr_link fields mixed up.
...
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-03-29 16:08:23 +00:00
stsp
8957b20dad
Add missing free. Found by norby@ in ospfctl, same fix.
2009-01-30 22:23:30 +00:00
stsp
89f180e4bc
One more step on the long road of beautifying ospf6ctl output:
...
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-29 20:09:02 +00:00
stsp
9415b30c85
Don't print a header line above every individual Intra-Area-Prefix LSA
...
in the detailed DB output. Now behaves the same as with other LSA types.
2009-01-29 19:39:41 +00:00
stsp
08720e8de9
Fix offset calculation for lsa_prefix structs.
...
ok claudio@
2009-01-29 16:34:32 +00:00
stsp
41bcac6b8c
Add 'show database intra' command, which displays Intra-Area-Prefix LSAs.
...
ok claudio@
2009-01-28 22:51:26 +00:00
stsp
8ec3642599
Print the right header for Intra-Area-Prefix LSAs when showing the database.
2009-01-28 17:34:15 +00:00