]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
21 years agoLet's go for release.
Ondrej Filip [Mon, 7 Jun 2004 13:07:12 +0000 (13:07 +0000)] 
Let's go for release.

21 years agoIt was too verbose.
Ondrej Filip [Mon, 7 Jun 2004 12:52:32 +0000 (12:52 +0000)] 
It was too verbose.

21 years agoCleanup in show route import <p>.
Ondrej Filip [Mon, 7 Jun 2004 10:42:24 +0000 (10:42 +0000)] 
Cleanup in show route import <p>.

21 years agoSome new warnings eliminated.
Ondrej Filip [Mon, 7 Jun 2004 10:00:29 +0000 (10:00 +0000)] 
Some new warnings eliminated.

21 years agoMarked unused parameters as unused.
Ondrej Filip [Mon, 7 Jun 2004 09:52:15 +0000 (09:52 +0000)] 
Marked unused parameters as unused.

21 years agoDeleted some unused code.
Ondrej Filip [Mon, 7 Jun 2004 09:09:14 +0000 (09:09 +0000)] 
Deleted some unused code.

21 years agoCleanup in packet.c. Deleted unused parameters.
Ondrej Filip [Sun, 6 Jun 2004 19:53:52 +0000 (19:53 +0000)] 
Cleanup in packet.c. Deleted unused parameters.

21 years agoDeleted unused parameters.
Ondrej Filip [Sun, 6 Jun 2004 18:45:08 +0000 (18:45 +0000)] 
Deleted unused parameters.

21 years agoRPM is now able to build IPv4 and IPv6 bird.
Ondrej Filip [Sun, 6 Jun 2004 17:20:16 +0000 (17:20 +0000)] 
RPM is now able to build IPv4 and IPv6 bird.

21 years agoTest old instance of BIRD.
Ondrej Filip [Sun, 6 Jun 2004 17:05:25 +0000 (17:05 +0000)] 
Test old instance of BIRD.

21 years agoBe sure, that ospf_area is aged before routing table calculation.
Ondrej Filip [Sun, 6 Jun 2004 17:03:56 +0000 (17:03 +0000)] 
Be sure, that ospf_area is aged before routing table calculation.

21 years agoKeep al lSAs invalidated.
Ondrej Filip [Sun, 6 Jun 2004 16:14:57 +0000 (16:14 +0000)] 
Keep al lSAs invalidated.

21 years agoTODO updated.
Ondrej Filip [Sun, 6 Jun 2004 16:05:14 +0000 (16:05 +0000)] 
TODO updated.

21 years agoSmall cleanup, indentation and preparation for multiple areas routing table calculation.
Ondrej Filip [Sun, 6 Jun 2004 16:00:09 +0000 (16:00 +0000)] 
Small cleanup, indentation and preparation for multiple areas routing table calculation.

21 years agoIndentation.
Ondrej Filip [Sun, 6 Jun 2004 14:27:11 +0000 (14:27 +0000)] 
Indentation.

21 years agoThis warning is stupid.
Ondrej Filip [Sun, 6 Jun 2004 14:25:55 +0000 (14:25 +0000)] 
This warning is stupid.

21 years agoIndentation.
Ondrej Filip [Sun, 6 Jun 2004 09:37:54 +0000 (09:37 +0000)] 
Indentation.

21 years agoStruct area_net changed.
Ondrej Filip [Sun, 6 Jun 2004 09:13:37 +0000 (09:13 +0000)] 
Struct area_net changed.

21 years agoCleanup in iface.c
Ondrej Filip [Sun, 6 Jun 2004 08:55:33 +0000 (08:55 +0000)] 
Cleanup in iface.c

21 years agoBe more verbose in troubles.
Ondrej Filip [Sun, 6 Jun 2004 08:12:42 +0000 (08:12 +0000)] 
Be more verbose in troubles.

21 years agoSet size of the buffers. (Thanx MJ.)
Ondrej Filip [Sat, 5 Jun 2004 15:02:52 +0000 (15:02 +0000)] 
Set size of the buffers. (Thanx MJ.)

21 years agoStaticized lots of local functions.
Martin Mares [Sat, 5 Jun 2004 09:58:23 +0000 (09:58 +0000)] 
Staticized lots of local functions.

21 years agoOne less unused variable.
Martin Mares [Sat, 5 Jun 2004 09:58:06 +0000 (09:58 +0000)] 
One less unused variable.

21 years agoBetter prototypes.
Martin Mares [Sat, 5 Jun 2004 09:57:49 +0000 (09:57 +0000)] 
Better prototypes.

21 years agoAdd more warnings if --enable-warnings is turned on. (probably requires
Martin Mares [Sat, 5 Jun 2004 09:57:35 +0000 (09:57 +0000)] 
Add more warnings if --enable-warnings is turned on. (probably requires
gcc-3.0 or newer, but I hope it's OK)

21 years ago`defaut' should be `default'.
Martin Mares [Sat, 5 Jun 2004 09:29:38 +0000 (09:29 +0000)] 
`defaut' should be `default'.

21 years ago... and a whole bunch of unused parameters and variables in ospf.
Martin Mares [Sat, 5 Jun 2004 09:28:17 +0000 (09:28 +0000)] 
... and a whole bunch of unused parameters and variables in ospf.

21 years ago... and in rip (there are even unused functions!).
Martin Mares [Sat, 5 Jun 2004 09:27:49 +0000 (09:27 +0000)] 
... and in rip (there are even unused functions!).

21 years ago... in pipe.
Martin Mares [Sat, 5 Jun 2004 09:27:35 +0000 (09:27 +0000)] 
... in pipe.

21 years ago... in BGP.
Martin Mares [Sat, 5 Jun 2004 09:27:17 +0000 (09:27 +0000)] 
... in BGP.

21 years agoOne more in the library.
Martin Mares [Sat, 5 Jun 2004 09:27:02 +0000 (09:27 +0000)] 
One more in the library.

21 years ago... and in the filter.
Martin Mares [Sat, 5 Jun 2004 09:26:55 +0000 (09:26 +0000)] 
... and in the filter.

21 years agoUnused parameters in the client.
Martin Mares [Sat, 5 Jun 2004 09:26:48 +0000 (09:26 +0000)] 
Unused parameters in the client.

21 years agoMarked unused parameters in sysdep code as such.
Martin Mares [Sat, 5 Jun 2004 09:11:07 +0000 (09:11 +0000)] 
Marked unused parameters in sysdep code as such.

21 years agoMarked unused parameters in core code as such.
Martin Mares [Sat, 5 Jun 2004 09:10:56 +0000 (09:10 +0000)] 
Marked unused parameters in core code as such.

21 years agoRenamed log() to log_msg(), but still keeping the old name as a macro.
Martin Mares [Sat, 5 Jun 2004 09:05:12 +0000 (09:05 +0000)] 
Renamed log() to log_msg(), but still keeping the old name as a macro.
This is done to avoid clashes with gcc-3.3 which has built-in logarithms :)

21 years agoA better comment.
Martin Mares [Sat, 5 Jun 2004 09:01:12 +0000 (09:01 +0000)] 
A better comment.

21 years agoMoved the tests for socket existence here.
Martin Mares [Sat, 5 Jun 2004 08:59:17 +0000 (08:59 +0000)] 
Moved the tests for socket existence here.

BTW, where do you exactly set the new buffer sizes?

21 years agoCleaned up sk_reallocate() and friends.
Martin Mares [Sat, 5 Jun 2004 08:56:43 +0000 (08:56 +0000)] 
Cleaned up sk_reallocate() and friends.
Also, removed the `if (s)' test, because I believe that as the whole
socket interface doesn't accent NULL pointers, sk_reallocate() shouldn't
be the only exception.

21 years agoBe more verbose.
Ondrej Filip [Fri, 4 Jun 2004 21:19:47 +0000 (21:19 +0000)] 
Be more verbose.

21 years agocleanup in lsupd.c, indenting, "struct proto" removed...
Ondrej Filip [Fri, 4 Jun 2004 21:05:43 +0000 (21:05 +0000)] 
cleanup in lsupd.c, indenting, "struct proto" removed...

21 years ago'struct proto' removed
Ondrej Filip [Fri, 4 Jun 2004 20:41:02 +0000 (20:41 +0000)] 
'struct proto' removed
Finally, I found the bug reported by Andreas Steinmetz. FIXED.

21 years agoUseless logs removed.
Ondrej Filip [Fri, 4 Jun 2004 19:53:36 +0000 (19:53 +0000)] 
Useless logs removed.

21 years agoBugfix in last patch.
Ondrej Filip [Fri, 4 Jun 2004 19:21:19 +0000 (19:21 +0000)] 
Bugfix in last patch.

21 years agoOSPF is ready for changing MTU.
Ondrej Filip [Fri, 4 Jun 2004 18:51:29 +0000 (18:51 +0000)] 
OSPF is ready for changing MTU.

21 years agono comment
Ondrej Filip [Fri, 4 Jun 2004 18:24:15 +0000 (18:24 +0000)] 
no comment

21 years agodbdes indent an minor changes.
Ondrej Filip [Fri, 4 Jun 2004 17:49:25 +0000 (17:49 +0000)] 
dbdes indent an minor changes.

21 years agotypo in README
Ondrej Filip [Fri, 4 Jun 2004 17:32:38 +0000 (17:32 +0000)] 
typo in README

21 years agobetter log() usage.
Ondrej Filip [Fri, 4 Jun 2004 17:31:03 +0000 (17:31 +0000)] 
better log() usage.

21 years agolsreq.c indented and small 'struct proto' changes.
Ondrej Filip [Fri, 4 Jun 2004 17:28:41 +0000 (17:28 +0000)] 
lsreq.c indented and small 'struct proto' changes.

21 years agohello.* reindented, code cleanup.
Ondrej Filip [Fri, 4 Jun 2004 17:12:27 +0000 (17:12 +0000)] 
hello.* reindented, code cleanup.

21 years agoDeleted useles "struct proto" sending.
Ondrej Filip [Fri, 4 Jun 2004 17:05:24 +0000 (17:05 +0000)] 
Deleted useles "struct proto" sending.

21 years agoBetter log() usage.
Ondrej Filip [Fri, 4 Jun 2004 16:56:54 +0000 (16:56 +0000)] 
Better log() usage.

21 years agoIndented. No other change.
Ondrej Filip [Fri, 4 Jun 2004 16:55:53 +0000 (16:55 +0000)] 
Indented. No other change.

21 years agolsack.c cleaned. Better names for functions and
Ondrej Filip [Fri, 4 Jun 2004 16:30:04 +0000 (16:30 +0000)] 
lsack.c cleaned. Better names for functions and
DIRECT acks can be sent in one packet now.

21 years agoackd_timer_hook moded to neighbor.c
Ondrej Filip [Fri, 4 Jun 2004 15:45:35 +0000 (15:45 +0000)] 
ackd_timer_hook moded to neighbor.c

21 years agoFatal bug found. Sometimes BIRD did not originate router LSA. FIXED. :-)
Ondrej Filip [Fri, 4 Jun 2004 15:26:46 +0000 (15:26 +0000)] 
Fatal bug found. Sometimes BIRD did not originate router LSA. FIXED. :-)

21 years agoInitialize iterator on the right place.
Ondrej Filip [Fri, 4 Jun 2004 14:23:58 +0000 (14:23 +0000)] 
Initialize iterator on the right place.

21 years agoThis can happen now.
Ondrej Filip [Fri, 4 Jun 2004 14:23:21 +0000 (14:23 +0000)] 
This can happen now.

21 years agoSmall reversing of previous patch.
Ondrej Filip [Fri, 4 Jun 2004 14:22:30 +0000 (14:22 +0000)] 
Small reversing of previous patch.

21 years agoDon't repeat "Sheduling rt calc....."
Ondrej Filip [Fri, 4 Jun 2004 14:21:08 +0000 (14:21 +0000)] 
Don't repeat "Sheduling rt calc....."

21 years agoCode and comments cleanup.
Ondrej Filip [Fri, 4 Jun 2004 14:03:30 +0000 (14:03 +0000)] 
Code and comments cleanup.

21 years agohello.c and hello.h cleaned up. No design changes.
Ondrej Filip [Fri, 4 Jun 2004 12:53:10 +0000 (12:53 +0000)] 
hello.c and hello.h cleaned up. No design changes.

21 years agoAdded source addr for multicast socket.
Ondrej Filip [Thu, 3 Jun 2004 08:18:49 +0000 (08:18 +0000)] 
Added source addr for multicast socket.

21 years agoCONFIG_SKIP_MC_BIND added.
Ondrej Filip [Thu, 3 Jun 2004 08:18:14 +0000 (08:18 +0000)] 
CONFIG_SKIP_MC_BIND added.
BSD hates it, Linux needs it.

21 years agoDeleted useless rfree. (Socked was freed by cli_free())
Ondrej Filip [Wed, 2 Jun 2004 15:14:49 +0000 (15:14 +0000)] 
Deleted useless rfree. (Socked was freed by cli_free())

21 years agoHotfix for router's parent without nexthop.
Ondrej Filip [Wed, 2 Jun 2004 09:14:03 +0000 (09:14 +0000)] 
Hotfix for router's parent without nexthop.
It will probably work perfect, but I need to eliminate such situation.

21 years agoBugfix in external routes calculation.
Ondrej Filip [Tue, 1 Jun 2004 14:06:25 +0000 (14:06 +0000)] 
Bugfix in external routes calculation.

21 years agoCode clean up.
Ondrej Filip [Tue, 1 Jun 2004 13:58:39 +0000 (13:58 +0000)] 
Code clean up.

21 years agoEasier cleanup of an interface.
Ondrej Filip [Tue, 1 Jun 2004 13:44:53 +0000 (13:44 +0000)] 
Easier cleanup of an interface.

21 years agoDon't free socket's resources.
Ondrej Filip [Tue, 1 Jun 2004 13:29:08 +0000 (13:29 +0000)] 
Don't free socket's resources.

21 years agoPatch from Andreas Steinmetz <ast@domdv.de>
Ondrej Filip [Tue, 1 Jun 2004 13:12:10 +0000 (13:12 +0000)] 
Patch from Andreas Steinmetz <ast@domdv.de>

21 years agoReverting last patch.
Ondrej Filip [Tue, 1 Jun 2004 12:57:13 +0000 (12:57 +0000)] 
Reverting last patch.

21 years agoCaching loopback interface.
Ondrej Filip [Tue, 1 Jun 2004 10:55:10 +0000 (10:55 +0000)] 
Caching loopback interface.

21 years agolog->DBG
Ondrej Filip [Tue, 1 Jun 2004 10:53:30 +0000 (10:53 +0000)] 
log->DBG

21 years agoMinor changes caused by MJ's comment.
Ondrej Filip [Tue, 1 Jun 2004 10:45:28 +0000 (10:45 +0000)] 
Minor changes caused by MJ's comment.

21 years ago#ifdef CONFIG_UNIX_DONTROUTE added.
Ondrej Filip [Tue, 1 Jun 2004 10:32:02 +0000 (10:32 +0000)] 
#ifdef CONFIG_UNIX_DONTROUTE added.

21 years agoALIGN -> BIRD_ALIGN
Ondrej Filip [Tue, 1 Jun 2004 10:28:25 +0000 (10:28 +0000)] 
ALIGN -> BIRD_ALIGN

21 years agoNow, only one AC_OUTPUT is used.
Ondrej Filip [Tue, 1 Jun 2004 10:10:09 +0000 (10:10 +0000)] 
Now, only one AC_OUTPUT is used.

21 years agoUseles log()s deleted.
Ondrej Filip [Tue, 1 Jun 2004 09:10:11 +0000 (09:10 +0000)] 
Useles log()s deleted.

21 years agobzero has 2 arguments.
Ondrej Filip [Tue, 1 Jun 2004 09:07:16 +0000 (09:07 +0000)] 
bzero has 2 arguments.

21 years agomemset -> bzero
Ondrej Filip [Tue, 1 Jun 2004 08:59:47 +0000 (08:59 +0000)] 
memset -> bzero

21 years agoUpdated the distribution script.
Martin Mares [Mon, 31 May 2004 22:24:42 +0000 (22:24 +0000)] 
Updated the distribution script.

21 years agoDocumented the pxlen parameter.
Martin Mares [Mon, 31 May 2004 22:22:21 +0000 (22:22 +0000)] 
Documented the pxlen parameter.

21 years agoAdded a simple utility for converting CVS log messages to a reasonable
Martin Mares [Mon, 31 May 2004 22:16:54 +0000 (22:16 +0000)] 
Added a simple utility for converting CVS log messages to a reasonable
changelog format.

21 years agoMove CLI socket to the newly created CLI's pool.
Martin Mares [Mon, 31 May 2004 22:00:18 +0000 (22:00 +0000)] 
Move CLI socket to the newly created CLI's pool.

(thanks to Andreas for the original idea)

21 years agoRewritten the I/O loop. All socket operations are now safe, meaning that
Martin Mares [Mon, 31 May 2004 21:48:19 +0000 (21:48 +0000)] 
Rewritten the I/O loop. All socket operations are now safe, meaning that
you can delete the socket from anywhere in the hooks and nothing should break.
Also, the receive/transmit buffers are now regular xmalloc()'ed buffers,
not separate resources which would need shuffling around between pools.

sk_close() is gone, use rfree() instead.

21 years agoAdded UNUSED.
Martin Mares [Mon, 31 May 2004 21:02:09 +0000 (21:02 +0000)] 
Added UNUSED.

21 years agoKilled a couple of unused variables.
Martin Mares [Mon, 31 May 2004 20:57:38 +0000 (20:57 +0000)] 
Killed a couple of unused variables.

We really should compile with warnings enabled.

21 years agostatic declarations don't belong to includes. (And most of them were
Martin Mares [Mon, 31 May 2004 20:53:22 +0000 (20:53 +0000)] 
static declarations don't belong to includes. (And most of them were
redundant anyway.)

21 years agoNeed <termios.h> for tcdrain().
Martin Mares [Mon, 31 May 2004 20:51:45 +0000 (20:51 +0000)] 
Need <termios.h> for tcdrain().

21 years agoMake the check for <linux/rtnetlink.h> work with recent libc's.
Martin Mares [Mon, 31 May 2004 20:49:11 +0000 (20:49 +0000)] 
Make the check for <linux/rtnetlink.h> work with recent libc's.

21 years agoOne space more.
Martin Mares [Mon, 31 May 2004 20:35:19 +0000 (20:35 +0000)] 
One space more.

21 years agoAdded rmove() (by Andreas, tweaked by me).
Martin Mares [Mon, 31 May 2004 18:47:19 +0000 (18:47 +0000)] 
Added rmove()  (by Andreas, tweaked by me).

21 years agoThe code was broken for external /29 to /32 routes. Assuming that you
Martin Mares [Mon, 31 May 2004 18:16:42 +0000 (18:16 +0000)] 
The code was broken for external /29 to /32 routes. Assuming that you
have one machine publishing a route to 10.1.1.3/32 and another one
publishing a route to 10.1.1.4/32. If the first machine went down the
route to 10.1.1.4/32 was wrongly killed by the old code, leading either
to missing routes or worse to bug()s like "Router parent does not have
next hop" or just segfaults. The patch fixes this but in the long term a
redesign is required here. Note that the patch doesn't worse the
situation, instead it prevents the problems stated. The redesign is
required to handle multiple routes to small subnets properly.

(by Andreas)

Feela, I think that this is at least a good temporary fix, but it's
of course up to you to decide.

21 years agoThe OSPF authentication type was sent in host byte order instead of of
Martin Mares [Mon, 31 May 2004 18:13:14 +0000 (18:13 +0000)] 
The OSPF authentication type was sent in host byte order instead of of
network byte order thus breaking interoperability with other routing
daemons on litte endian machines. The patch fixes this but note that
this breaks compatability with older bird installations using OSPF and
password authentication

(Andreas)

21 years agoThe initial sequence number for RIP md5 authentication was always zero.
Martin Mares [Mon, 31 May 2004 18:11:16 +0000 (18:11 +0000)] 
The initial sequence number for RIP md5 authentication was always zero.
Bad as when bird e.g. was running for two weeks and then restarted it
would take another two weeks until the peers of this router would accept
data again from this router, as the sequence number would be too low.
Changed to use the the current system time as the starting sequence
number which is a more sane start value.

(by Andreas, cleaned up by me)

21 years agoSmall correction to va_start/va_end in cli_printf (va_end was missing).
Martin Mares [Mon, 31 May 2004 18:08:50 +0000 (18:08 +0000)] 
Small correction to va_start/va_end in cli_printf (va_end was missing).

(Andreas)

21 years agoFix handling on full pipe to client in bird. Prevent packet overflows
Martin Mares [Mon, 31 May 2004 17:55:30 +0000 (17:55 +0000)] 
Fix handling on full pipe to client in bird. Prevent packet overflows
for even only medium sized route table output. Fix a strange garbled
output problem in the client. The latter seems to be caused by some
library doing tcflush while there is still command output pending. So
the best fix here is to do fflush and then tcdrain. Note that this
problem occurs only under certain load situations and is not too easy to
reproduce.

(by Andreas)

21 years agoBird's control socket should be in /var/run and the convention for
Martin Mares [Mon, 31 May 2004 17:53:02 +0000 (17:53 +0000)] 
Bird's control socket should be in /var/run and the convention for
--localstatedir is /var. The control socket pathname creation is thus
corrected here.

(Andreas)