bgpd/bgp_vty.c | 31 +++
lib/checksum.c | 52 ++---
lib/checksum.h | 2
lib/sockunion.c | 53 -----
tests/Makefile.am | 4
tests/test-checksum.c | 499 ++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 555 insertions(+), 86 deletions(-)
New commits:
commit 84152ee6841d0d83bd46ed6f8f12cc5c08386c7f
Author: Paul Jakma <[EMAIL PROTECTED]>
Date: Mon Nov 24 22:25:16 2008 +0000
[lib] fix missing sockunion_normalise_mapped
* lib/sockunion.c: (sockunion_accept) sockunion needs to be normalised here,
as it used to before this was moved to a dedicated function..
commit e0081f70ede76bc7a3db53eaab3e45ba657cc4d3
Author: Michael Lambert <[EMAIL PROTECTED]>
Date: Sun Nov 16 20:12:04 2008 +0000
[bgpd] Add 'show bgp views' command
* bgp_vty.c: (show_bgp_views_cmd) new command to list all defined
views.
(with small edits by Paul Jakma)
Signed-off-by: Paul Jakma <[EMAIL PROTECTED]>
commit 5d4b8cf2faba9f5386810a7c70837e5b7fae3572
Author: Paul Jakma <[EMAIL PROTECTED]>
Date: Sun Nov 16 18:34:19 2008 +0000
[lib] Switch Fletcher checksum back to old ospfd version
* lib/checksum.c: (fletcher_checksum) Switch the second phase of the
checksum
back to the old ospfd logic.
The isisd-derived version:
a) is very hard to follow
b) had some kind of subtle bug that caused it be wrong when c0=0 and
c1=254
(potentially fixable by doing the mods before adjusting x and y)
Additionally:
- explicitely cast expressions using non-internal variables to int, to
ensure
the result is signed.
- defensively change the length argument to 'size_t', to ensure the code
works with that argument being unsigned..
Thanks to Joakim Tjernlund for the investigative work into this bug.
* tests/test-checksum.c: new file to exercise the checksum code.
http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=84152ee6841d0d83bd46ed6f8f12cc5c08386c7f
http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=e0081f70ede76bc7a3db53eaab3e45ba657cc4d3
http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=5d4b8cf2faba9f5386810a7c70837e5b7fae3572
_______________________________________________
svn mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/svn