Hello community, here is the log from the commit of package quagga checked in at Wed Dec 20 18:59:33 CET 2006. -------- --- quagga/quagga.changes 2006-12-19 14:49:02.000000000 +0100 +++ /mounts/work_src_done/STABLE/quagga/quagga.changes 2006-12-20 14:29:49.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Dec 20 14:28:56 CET 2006 - prusnak@suse.cz + +- fixed "nextnode" misuse + +------------------------------------------------------------------- New: ---- quagga-0.98.6-nextnode.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ quagga.spec ++++++ --- /var/tmp/diff_new_pack.d8huCm/_old 2006-12-20 18:59:24.000000000 +0100 +++ /var/tmp/diff_new_pack.d8huCm/_new 2006-12-20 18:59:24.000000000 +0100 @@ -13,7 +13,7 @@ Name: quagga BuildRequires: net-snmp-devel pam-devel readline-devel Version: 0.98.6 -Release: 28 +Release: 29 PreReq: %insserv_prereq %fillup_prereq /usr/sbin/useradd /usr/sbin/groupadd PreReq: %install_info_prereq Provides: zebra @@ -29,6 +29,7 @@ Patch2: %{name}-snmp.diff Patch4: %{name}-%{version}-strict-aliasing.diff Patch5: %{name}-%{version}-strcmp.diff +Patch6: %{name}-%{version}-nextnode.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -79,6 +80,7 @@ %patch2 %patch4 %patch5 +%patch6 %build if ! ls /proc/net/{dev,route,snmp} >/dev/null; then @@ -175,6 +177,8 @@ %{_includedir}/%{name}/ospfd/*.h %changelog -n quagga +* Wed Dec 20 2006 - prusnak@suse.cz +- fixed "nextnode" misuse * Tue Dec 19 2006 - prusnak@suse.cz - fixed "comparison with string literal" [#228420] * Mon Aug 21 2006 - kukuk@suse.de ++++++ quagga-0.98.6-nextnode.diff ++++++ --- ospfd/ospf_ase.c +++ ospfd/ospf_ase.c @@ -740,7 +740,7 @@ for (rn = route_top (rt); rn; rn = route_next (rn)) if ((lst = rn->info) != NULL) { - for (node = listhead (lst); node; node = nextnode (node)) + for (node = listhead (lst); node; nextnode (node)) if ((lsa = getdata (node)) != NULL) ospf_lsa_unlock (lsa); list_delete (lst); --- ospfd/ospf_lsa.c +++ ospfd/ospf_lsa.c @@ -658,7 +658,7 @@ struct listnode *node; int links = 0; - for (node = listhead (area->oiflist); node; node = nextnode (node)) + for (node = listhead (area->oiflist); node; nextnode (node)) { struct ospf_interface *oi = node->data; struct interface *ifp = oi->ifp; @@ -2751,7 +2751,7 @@ { struct listnode *node; - for (node = listhead (ospf->oiflist); node; node = nextnode (node)) + for (node = listhead (ospf->oiflist); node; nextnode (node)) { struct ospf_interface *oi = getdata (node); struct route_node *rn; --- ospfd/ospf_packet.c +++ ospfd/ospf_packet.c @@ -1810,7 +1810,7 @@ struct listnode *oi_node; int Flag = 0; - for(oi_node = listhead(oi->ospf->oiflist); oi_node; oi_node = nextnode(oi_node)) + for(oi_node = listhead(oi->ospf->oiflist); oi_node; nextnode(oi_node)) { struct ospf_interface *out_if = getdata(oi_node); if(out_if == NULL) --- ospfd/ospf_spf.c +++ ospfd/ospf_spf.c @@ -1233,7 +1233,7 @@ ospf_vl_unapprove (ospf); /* Calculate SPF for each area. */ - for (node = listhead (ospf->areas); node; node = nextnode (node)) + for (node = listhead (ospf->areas); node; nextnode (node)) ospf_spf_calculate (node->data, new_table, new_rtrs); ospf_vl_shut_unapproved (ospf); --- ripd/ripd.c +++ ripd/ripd.c @@ -3523,7 +3523,7 @@ vty_out (vty, " Interface Send Recv Key-chain%s", VTY_NEWLINE); - for (node = listhead (iflist); node; node = nextnode (node)) + for (node = listhead (iflist); node; nextnode (node)) { ifp = getdata (node); ri = ifp->info; @@ -3553,7 +3553,7 @@ { int found_passive = 0; - for (node = listhead (iflist); node; node = nextnode (node)) + for (node = listhead (iflist); node; nextnode (node)) { ifp = getdata (node); ri = ifp->info; --- ripngd/ripngd.c +++ ripngd/ripngd.c @@ -2183,7 +2183,7 @@ vty_out (vty, " Interface Send Recv%s", VTY_NEWLINE); - for (node = listhead (iflist); node; node = nextnode (node)) + for (node = listhead (iflist); node; nextnode (node)) { struct ripng_interface *ri; struct interface *ifp; --- zebra/connected.c +++ zebra/connected.c @@ -40,7 +40,7 @@ struct connected *ifc; struct listnode *node; - for (node = listhead (ifp->connected); node; node = nextnode (node)) + for (node = listhead (ifp->connected); node; nextnode (node)) { ifc = getdata (node); @@ -265,7 +265,7 @@ struct connected *ifc; struct listnode *node; - for (node = listhead (ifp->connected); node; node = nextnode (node)) + for (node = listhead (ifp->connected); node; nextnode (node)) { ifc = getdata (node); --- zebra/irdp_main.c +++ zebra/irdp_main.c @@ -326,7 +326,7 @@ zlog_info("IRDP: Received shutdown notification."); - for (node = listhead (iflist); node; node = nextnode (node)) + for (node = listhead (iflist); node; nextnode (node)) { ifp = getdata(node); zi = ifp->info; --- zebra/rtadv.c +++ zebra/rtadv.c @@ -217,7 +217,7 @@ len = sizeof (struct nd_router_advert); /* Fill in prefix. */ - for (node = listhead (zif->rtadv.AdvPrefixList); node; node = nextnode (node)) + for (node = listhead (zif->rtadv.AdvPrefixList); node; nextnode (node)) { struct nd_opt_prefix_info *pinfo; struct rtadv_prefix *rprefix; @@ -510,7 +510,7 @@ struct listnode *node; struct rtadv_prefix *rprefix; - for (node = listhead (rplist); node; node = nextnode (node)) + for (node = listhead (rplist); node; nextnode (node)) { rprefix = getdata (node); if (prefix_same (&rprefix->prefix, p)) @@ -1105,7 +1105,7 @@ if (zif->rtadv.AdvOtherConfigFlag) vty_out (vty, " ipv6 nd other-config-flag%s", VTY_NEWLINE); - for (node = listhead(zif->rtadv.AdvPrefixList); node; node = nextnode (node)) + for (node = listhead(zif->rtadv.AdvPrefixList); node; nextnode (node)) { rprefix = getdata (node); vty_out (vty, " ipv6 nd prefix %s/%d", --- zebra/zserv.c +++ zebra/zserv.c @@ -771,7 +771,7 @@ /* Interface information is needed. */ client->ifinfo = 1; - for (ifnode = listhead (iflist); ifnode; ifnode = nextnode (ifnode)) + for (ifnode = listhead (iflist); ifnode; nextnode (ifnode)) { ifp = getdata (ifnode); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de