Mailing List Archive

[Bug 419] Notification generated for AS_PATHLIMIT attribute with Partial flag set
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=419


paul@dishone.st changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |CLOSED
Resolution| |FIXED




------- Additional Comments From jfletche@gmail.com 2007-11-10 01:57 -------
If an update is received which contains an AS_PATHLIMIT attribute that has the
Partial flag set, a notification is sent, even though both the Optional and
Transitive flags are set. One example is:

Unknown (8 bytes)
Flags: 0xe0 (Optional, Transitive, Partial)
1... .... = Optional
.1.. .... = Transitive
..1. .... = Partial
...0 .... = Regular length
Type code: Unknown (21)
Length: 5 bytes
Unknown (5 bytes)

In this case the Partial flag was set by a router that did not support the
AS_PATHLIMIT attribute.

A small change to bgp_attr_aspathlimit in bgp_attr.c should address this issue:

bgp_attr.c
697c697
< if ((flag & (BGP_ATTR_FLAG_TRANS|BGP_ATTR_FLAG_OPTIONAL)) !=
(BGP_ATTR_FLAG_TRANS|BGP_ATTR_FLAG_OPTIONAL))
---
> if (flag != (BGP_ATTR_FLAG_TRANS|BGP_ATTR_FLAG_OPTIONAL))

------- Additional Comments From paul@dishone.st 2008-06-01 15:29 -------
Applied to CVS, thank you.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs