Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge Quagga 0.99.14 (upstream) into kenwood | Stephen Hemminger | 2009-07-21 | 1 | -6/+74 |
| | | | | | | | | | | | | | | | | | | | | | | | Grand unified Quagga Conflicts: bgpd/bgp_aspath.c bgpd/bgp_damp.c bgpd/bgp_damp.h bgpd/bgp_main.c bgpd/bgp_packet.c bgpd/bgp_route.c bgpd/bgpd.c configure.ac doc/zebra.8 lib/command.c lib/smux.c lib/workqueue.c ospfd/ospf_snmp.c ospfd/ospfd.c zebra/main.c zebra/rt_netlink.c zebra/zebra_rib.c | ||||
* | [lib] Switch Fletcher checksum back to old ospfd version | Paul Jakma | 2008-11-16 | 1 | -0/+499 |
* 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. |