Age | Commit message (Collapse) | Author |
|
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.
ok jmc@
|
|
ospf6d.c: sync a missing bit of (disabled) code with ospfd
rde.c: ifdef out some more incomplete code
ok denis@ claudio@
|
|
macro-build a replacement for sccsid, and was done without any concern
for namespace damage. Unfortunately this practice started infecting
other code as others were unaware they didn't need the file.
ok millert guenther
|
|
messages. ok remi@ benno@
if a neighbour is reachable over multiple network links, some problems
may be related to the link itself rather than the neighbour, so knowing
the interface can be important when trying to locate the source of a
problem.
|
|
functions that take "char *" arguments. Where such chars are
assigned to int or passed to ctype functions, explicitly cast them
to unsigned char.
For OpenBSD's clang, -Wpointer-sign has been disabled by default,
but when the parse.y code was built elsewhere, the compiler would
complain.
With help from millert@
ok benno@ deraadt@
|
|
|
|
This code assumes some alignment of the buffer which may not be
the case with bss memory.
|
|
|
|
imsg_compose_event() directly. This is needed to make the imsg event
structures static in ospfe.c, rde.c and ospf6d.c.
|
|
a common symbol.
|
|
|
|
|
|
into control.c nothing outside needs access to this.
|
|
IPv6 address. Compare against all possible interface addresses instead of
only against iface->addr which is set to the last link-local address and
so there is a high chance of failure when multiple link-local addresses
are present.
Also simplify send_packet(), there is no need to use sendmsg() just use
sendto().
OK benno@
|
|
iface->dst is not initalized so instead use nbr->addr (like it is done in
ospfd).
OK benno@
|
|
before accessing anything in ifa_addr.
ok claudio@
|
|
|
|
orig_intra_area_prefix_lsas() is called. If not, the ospf6d will not
announce the new intra area db for a newly learned link from another
ospf router of the broadcast domain.
OK denis@
|
|
further. This is in line with what other networking daemons do.
ok mestre@
|
|
for L2 and broadcast routes, since we don't need them at all.
ok remi@ sthen@
|
|
send back LSA with type LSA_TYPE_INTRA_A_PREFIX. LSA_TYPE_INTER_A_PREFIX
should not be included there.
OK claudio@
|
|
OK claudio@, looks fine from tb@
|
|
|
|
OK florian@, millert@, kn@
|
|
|
|
|
|
OK remi@
|
|
configuration file.", but occasionally something else fit better; at the
same time, try to make the format for FILES more consistent;
original diff from clematis
|
|
OK remi@
|
|
OK remi@
|
|
Do not use the pointer returned by ibuf_reserve() after calling another
ibuf function. After the call the internal buffer may have moved by realloc()
and so the pointer is invalid. Instead use ibuf_size() to get the current
offset in the buffer and use ibuf_seek() later on to write back the updated
lsa age into the buffer at the right spot.
This fixes an issue seen by Richard Chivers on routers with many passive
interfaces.
OK stsp@ denis@ deraadt@ also tested by sthen@
|
|
A large number of redistributed routes make ospf6d crash.
OK remi@, sthen@
|
|
|
|
OK remi@
|
|
Also change get_net_link() and get_rtr_link() to work like ospfd(8)
couterpart.
OK remi@
|
|
- update debug messages to be more precise
- simplify call to lsa_self()
- drop lsa_find_lsid() redondant parameters
OK remi@
|
|
manual pages that document the corresponding configuration files;
OK jmc@, and general direction discussed with many
|
|
area. Most of the other interface settings allow this.
ok denis@
|
|
OK remi@
|
|
or they will have no effect.
OK denis@
|
|
|
|
OK remi@
|
|
OK remi@
|
|
Now that area is part of iface, original orig_rtr_lsa() is useless. Also
verifying that area != NULL is not needed in some cases (these are
leftovers of the previous diff).
OK remi@
|
|
"Looks fine" deraadt@
|
|
OK remi@
|
|
tested by Kapetanakis Giannis
ok denis@
|
|
Same as ospfd's hello.c rev 1.23.
ok denis@
|
|
OK remi@
|
|
OK remi@
|