.gitignore | 1 bgpd/bgp_packet.c | 1 bgpd/bgp_route.c | 19 ---------------- bgpd/bgp_table.c | 35 +++-------------------------- bgpd/bgp_zebra.c | 33 ---------------------------- debian/changelog | 28 +++++++++++++++++++++++ lib/command.c | 3 +- lib/if.c | 2 - lib/md5.c | 3 +- lib/prefix.h | 16 +++++++++++++ lib/table.c | 28 +++-------------------- lib/vty.c | 6 ++--- ospf6d/ospf6_interface.c | 17 -------------- ospf6d/ospf6_lsdb.c | 9 ++----- ospf6d/ospf6_route.c | 5 ---- ospf6d/ospf6_top.c | 2 + ospfd/ospf_abr.c | 45 -------------------------------------- ospfd/ospf_ase.c | 9 +++---- ospfd/ospf_route.c | 55 ----------------------------------------------- ospfd/ospf_spf.c | 2 + ospfd/ospf_vty.c | 3 +- ospfd/ospf_zebra.c | 7 +++-- ospfd/ospf_zebra.h | 2 - ospfd/ospfd.c | 2 + ripd/rip_interface.c | 19 +++++++++------- ripd/ripd.c | 2 + ripd/ripd.h | 2 + ripngd/ripng_interface.c | 31 +++++++------------------- ripngd/ripngd.c | 5 +++- zebra/irdp.h | 7 +++++ zebra/irdp_interface.c | 25 ++++++++++++++------- zebra/irdp_main.c | 20 ----------------- zebra/irdp_packet.c | 6 +---- zebra/rib.h | 1 zebra/rtadv.c | 7 ++++- zebra/zebra_rib.c | 19 +++++----------- 36 files changed, 150 insertions(+), 327 deletions(-)
New commits: commit 4a6f7594e113cafb7939e5ec51029443ddbd6d25 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 11:24:59 2009 -0800 0.99.15-10 commit e19b97a0e66aaccad839686547b3929f25411999 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 11:22:52 2009 -0800 Ignore derived file mkinstalldirs commit 52efbe95dac15775c1fa8c4c01279628747190c6 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 11:17:17 2009 -0800 Fix ifdef for vty_serv_sock_family The funciton vty_serv_sock_family is only used for certain configuration. commit 36b11897873dbbb658f75e36818a68f35f906083 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:50:42 2009 -0800 Subject: ospf6d: remove dead code Comment out ospf6_delete, it might be useful if real shutdown is added; but loopind is meaningless code. commit 08f831b18ec0df7a4b6cfcde3ad32d59bc50c543 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:49:20 2009 -0800 Add prefix6_bit Change to common bit check code, caused warnings because some uses in ospf6 need to find bit in IP6 address. ospf6d: remove dead code commit d4b72a0ee5857c44d74c5a6cfb4d6793f909bd76 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:48:32 2009 -0800 Subject: ospf: cleanup OSPF compiler warnings: * remove dead code * avoid assignment in conditional context * avoid casting int to pointer (instead use unsigned long) commit 5751df9ba5d184f99ef7912a7f9b5be38c413d06 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:47:42 2009 -0800 Subject: ripng: compiler warning cleanup This fixes some Gcc compiler warnings: * eliminate dead code. * cast flag arguements to logging function. * avoid aliasing warning dereferencing pointer commit 2e1c13a19ad5ac8163e8434c1ecb678d6126d3e8 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:46:51 2009 -0800 Subject: ripd: cleanup Some compiler warnings: * comment out code that is no longer used (still in comments) * cast flags otherwise compiler complains about %lld not matching uint64_t on 64 bit x86. Print in hex since flags are bit field. * move prototype to ripd.h so compiler can check function against prototype * remove unused update_default_metric commit 20140064dd905251180abd6aef34483e27544cae Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:40:26 2009 -0800 Subject: irdp: fix uninitialized variable Gcc warns that ifindex is unitialized in some code paths. If irdp_read_raw reads a truncated message, then it will return 0 and ifindex set to uninitialised value. commit 59baf77482984edf43e9c699c1dddf9f0223d661 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:36:09 2009 -0800 irdp: warning cleanup Do some cleanup here so it compiles without warnings: * move all prototypes to common header file irdp.h * move inet_2a to file where it is used commit 99ded7fe8c1f60bb4d9b5cc83e64255027bcbdd3 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 08:35:26 2009 -0800 vty: fix warnings Some warnings and const strings: * don't pass strings which might contain %s to zlog or vty_out * check return value from getcwd * check return from write when saving backup file * remove dead code commit 2c2397059d4d4177ed4636c08aa476a138425dc8 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 19:16:05 2009 +0300 ripd: fix compiler warnings * ripd/rip_interface.c * rip_request_neighbor(): comment out, unused * rip_request_neighbor_all(): idem * rip_interface_up(): Cast flags otherwise compiler complains about %lld not matching uint64_t on 64 bit x86. Print in hex since flags are bit field. * rip_interface_add(): idem * rip_interface_delete(): idem * ripd/rip_zebra.c * rip_redistribute_set(): comment out, unused * ripd/ripd.h * rip_redistribute_check(): move prototype here so compiler can check function against prototype * ripd/ripd.c * rip_update_default_metric(): comment out, unused commit e580216e1ba2db506d1942e382852d07973a5fad Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 16:18:41 2009 +0300 ospf6d: remove dead code * ospf6d/ospf6_interface.c * loopind(): sayonara * ospf6d/ospf6_top.c * ospf6_delete(): comment out, it might be useful if real shutdown is added commit 813f6a0064e76fdc8d509ddfbd4d3870d7027850 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 16:13:09 2009 +0300 ospf6d: fix warnings from recent prefix bit commit * lib/prefix.h * prefix6_bit(): add IPv6 wrapper for prefix_bit() * ospf6d/ospf6_lsdb.c * ospf6_lsdb_type_router_head(): employ prefix6_bit() * ospf6_lsdb_type_head(): idem commit 5eb9d11bf6bbe99ce47f929a14ac03351f21fe27 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 15:52:33 2009 +0300 ripngd: compiler warnings cleanup * ripngd/ripng_interface.c * ripng_check_max_mtu(): unused, sayonara * ripng_interface_down(): cast flag arguments to logging function * ripng_interface_add(): idem * ripng_interface_delete(): idem * ripngd/ripngd.c * ripng_recv_packet(): avoid aliasing warning dereferencing pointer commit ab0f61552622084a13ede59adefc4c54b5513d7b Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 14:22:44 2009 +0300 zebra: deal with irdp compile warnings * zebra/irdp.h * irdp_send_thread(): move prototype to common header file * irdp_advert_off(): idem * process_solicit(): idem * irdp_read_raw(): idem * send_packet(): idem * zebra/irdp_interface.c * inet_2a(): move function to where it is used * in_cksum(): lib/checksum.h already provides prototype * irdp_send_thread(): prototype moved away * inet_2a(): idem * irdp_advert_off(): idem * b1, b2, b3, b4: get rid of global buffers for inet_2a() * if_group(): add local buffer for inet_2a() * if_add_group(): idem * if_drop_group(): idem * irdp_config_write(): idem * Adv_new(): make static * zebra/irdp_main.c * irdp_read_raw(): prototype moved away * send_packet(): idem * in_cksum(): lib/checksum.h already provides prototype * inet_2a(): function moved to irdp_interface.c * zebra/irdp_packet.c * b1, b2, b3, b4: get rid of global buffers for inet_2a() * in_cksum(): lib/checksum.h already provides prototype * process_solicit(): prototype moved away * irdp_read_raw(): fix uninitialized variable commit 9e4ca89c3678431560a8259c75f8b5874d83d351 Author: Stephen Hemminger <[email protected]> Date: Thu Dec 10 11:57:05 2009 +0300 bgpd: compile warnings cleanup * bgpd/bgp_fsm.c * bgp_clearing_completed(): only used in one file, can be static * bgpd/bgp_packet.c * afi2str(): sayonara * safi2str(): sayonara * bgpd/bgp_route.c * bgp_distance_reset(): sayonara * bgpd/bgp_zebra.c * bgp_ifindex_by_nexthop(): sayonara commit cc2dd9280c4456586080d1cf4537d26c02fa9a36 Author: Stephen Hemminger <[email protected]> Date: Wed Dec 9 17:54:49 2009 +0300 zebra: cleanup RIB meta queue code * zebra/zebra_rib.c * rib_queue_add(): indent comments and simplify debug code * rib_queue_init(): remove unneeded assert() calls and extra return statements commit 1352ef32d70dcc102074814de63b5d08e591dd2d Author: Stephen Hemminger <[email protected]> Date: Wed Dec 9 14:43:17 2009 +0300 lib: move check_bit into prefix common code Make one version of check prefix bit, and put it inline with proper prototype. This gets rid of some macro's and also some assert() that can never happen on a non-broken compiler. * bgpd/bgp_table.c * CHECK_BIT(): sayonara * check_bit(): sayonara * SET_LINK(): sayonara * set_link(): make use of prefix_bit() instead of check_bit() * bgp_node_match(): idem * bgp_node_lookup(): idem * bgp_node_get(): idem * lib/prefix.h * prefix_bit(): new inline version of check_bit() * lib/table.c * CHECK_BIT(): sayonara * check_bit(): sayonara * SET_LINK(): sayonara * set_link(): make use of prefix_bit() instead of check_bit() * route_node_match(): idem * route_node_lookup(): idem * route_node_get(): idem * ospf6d/ospf6_lsdb.c * CHECK_BIT(): sayonara * ospf6_lsdb_lookup_next(): make use of prefix_bit() instead of CHECK_BIT() * ospf6_lsdb_type_router_head(): idem * ospf6_lsdb_type_head(): idem * ospf6d/ospf6_route.c * CHECK_BIT(): sayonara * ospf6_route_match_head() make use of prefix_bit() instead of * CHECK_BIT() commit 3949a60c350fea947d2701e2fe709b174ae7af16 Author: Stephen Hemminger <[email protected]> Date: Wed Dec 9 14:13:27 2009 +0300 lib: fix warning on little endian * md5.c * md5_calc(): If building on little endian then X will be 'const uint32_t' which causes compiler warning in code that never gets used. Just move the endif to make sure code is not checked. commit b0b709ab6656ba07f12fe0d256912dcabba19017 Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 13:26:14 2009 +0300 zebra: fix more warnings in rtadv * zebra/rtadv.c * rtadv_free(): remove unused function * rtadv_recv_packet(): break up cast/dereference to avoid compiler type pun warning * rtadv_read(): initialize ifindex, because compiler can't figure out that it is okay commit d02c56cdf0c2e01a986417ed973dd7a2a5368ac1 Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 13:14:27 2009 +0300 zebra: fix more compiler warnings * zebra/zebra_rib.c * nexthop_active_update(): make local int vars unsigned * nexthop_active_check(): return unsigned for consistency * rib_dump(): cast time in printf format * vrf_free(): remove unused function * vrf_lookup_by_name(): idem * rib_if_up(): idem * rib_if_down(): idem commit ffac19c58ee636274cd3972b584e37cd9a3331de Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 12:27:02 2009 +0300 zebra: remove unused function to fix warning * zebra/interface.c * if_supported_family(): sayonara commit 38cc00cd823fe945c7748de18c3e8932d98dd8f8 Author: Stephen Hemminger <[email protected]> Date: Tue Dec 8 12:00:50 2009 +0300 lib: make match functions take const args * table.c: general type safety and compiler help: * maskbit[]: become const * route_node_match(): take const args * route_node_match_ipv4(): idem * route_node_match_ipv6(): idem * check_bit(): idem, plus adjust local vars typing http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=4a6f7594e113cafb7939e5ec51029443ddbd6d25 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=e19b97a0e66aaccad839686547b3929f25411999 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=52efbe95dac15775c1fa8c4c01279628747190c6 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=36b11897873dbbb658f75e36818a68f35f906083 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=08f831b18ec0df7a4b6cfcde3ad32d59bc50c543 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=d4b72a0ee5857c44d74c5a6cfb4d6793f909bd76 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=5751df9ba5d184f99ef7912a7f9b5be38c413d06 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=2e1c13a19ad5ac8163e8434c1ecb678d6126d3e8 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=20140064dd905251180abd6aef34483e27544cae http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=59baf77482984edf43e9c699c1dddf9f0223d661 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=99ded7fe8c1f60bb4d9b5cc83e64255027bcbdd3 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=2c2397059d4d4177ed4636c08aa476a138425dc8 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=e580216e1ba2db506d1942e382852d07973a5fad http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=813f6a0064e76fdc8d509ddfbd4d3870d7027850 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=5eb9d11bf6bbe99ce47f929a14ac03351f21fe27 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=ab0f61552622084a13ede59adefc4c54b5513d7b http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=9e4ca89c3678431560a8259c75f8b5874d83d351 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=cc2dd9280c4456586080d1cf4537d26c02fa9a36 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=1352ef32d70dcc102074814de63b5d08e591dd2d http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=3949a60c350fea947d2701e2fe709b174ae7af16 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=b0b709ab6656ba07f12fe0d256912dcabba19017 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=d02c56cdf0c2e01a986417ed973dd7a2a5368ac1 http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=ffac19c58ee636274cd3972b584e37cd9a3331de http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=38cc00cd823fe945c7748de18c3e8932d98dd8f8 _______________________________________________ svn mailing list [email protected] http://mailman.vyatta.com/mailman/listinfo/svn
