[quagga-dev 8127] Re: [PATCH 08/10] bgpd: unlock node on aggregate error

Balaji G balajig81 at gmail.com
Sun Aug 8 12:11:51 BST 2010


Hi Stephen

Applied, Thanks

Cheers,
  - Balaji



On Thu, Aug 5, 2010 at 10:56 PM, Stephen Hemminger <shemminger at vyatta.com>wrote:

> From: Robert Bays <rbays at vyatta.com>
> Fix spelling and make sure to unlock BGP node if failure
>
> --- a/bgpd/bgp_route.c  2010-08-05 09:40:32.255088351 -0700
> +++ b/bgpd/bgp_route.c  2010-08-05 09:42:41.846139915 -0700
> @@ -5060,11 +5060,12 @@ bgp_aggregate_set (struct vty *vty, cons
>   if (rn->info)
>     {
>       vty_out (vty, "There is already same aggregate network.%s",
> VTY_NEWLINE);
> -      /* remove  old entry */
> +      /* try to remove the old entry */
>       ret = bgp_aggregate_unset (vty, prefix_str, afi, safi);
>       if (ret)
>         {
> -          vty_out (vty, "Error deleteing aggregate%s", VTY_NEWLINE);
> +          vty_out (vty, "Error deleting aggregate.%s", VTY_NEWLINE);
> +         bgp_unlock_node (rn);
>          return CMD_WARNING;
>         }
>     }
>
>
> _______________________________________________
> Quagga-dev mailing list
> Quagga-dev at lists.quagga.net
> http://lists.quagga.net/mailman/listinfo/quagga-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20100808/f40cf877/attachment-0001.html>


More information about the Quagga-dev mailing list