Skip to content

Commit

Permalink
BGP: Update LARGE_COMMUNITY Path Attribute early allocation IANA value
Browse files Browse the repository at this point in the history
Update test files accordingly
  • Loading branch information
pierky authored and fxlb committed Oct 27, 2016
1 parent 13ebe24 commit e2adb16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion print-bgp.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ struct bgp_route_refresh {
#define BGPTYPE_AIGP 26 /* RFC7311 */
#define BGPTYPE_PE_DISTINGUISHER_LABEL 27 /* RFC6514 */
#define BGPTYPE_ENTROPY_LABEL 28 /* RFC6790 */
#define BGPTYPE_LARGE_COMMUNITY 30 /* draft-ietf-idr-large-community-02 */
#define BGPTYPE_LARGE_COMMUNITY 32 /* draft-ietf-idr-large-community-05 */
#define BGPTYPE_ATTR_SET 128 /* RFC6368 */

#define BGP_MP_NLRI_MINSIZE 3 /* End of RIB Marker detection */
Expand Down
14 changes: 7 additions & 7 deletions tests/bgp-large-community.out
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
IP (tos 0x0, ttl 64, id 40592, offset 0, flags [DF], proto TCP (6), length 427)
192.0.2.2.34270 > 192.0.2.3.179: Flags [P.], cksum 0x648a (correct), seq 1543383182:1543383557, ack 1631904162, win 457, options [nop,nop,TS val 3914332 ecr 3914332], length 375: BGP
IP (tos 0x0, ttl 64, id 14630, offset 0, flags [DF], proto TCP (6), length 427)
192.0.2.2.46605 > 192.0.2.3.179: Flags [P.], cksum 0x232f (correct), seq 1293104091:1293104466, ack 4093754554, win 457, options [nop,nop,TS val 68367 ecr 68367], length 375: BGP
Update Message (2), length: 75
Origin (1), length: 1, Flags [T]: IGP
AS Path (2), length: 6, Flags [T]: 65536
Next Hop (3), length: 4, Flags [T]: 192.0.2.2
Large Community (30), length: 24, Flags [OT]:
Large Community (32), length: 24, Flags [OT]:
65535:1:1, 4294967295:4294967295:4294967295
Updated routes:
203.0.113.16/32
Update Message (2), length: 75
Origin (1), length: 1, Flags [T]: IGP
AS Path (2), length: 6, Flags [T]: 65536
Next Hop (3), length: 4, Flags [T]: 192.0.2.2
Large Community (30), length: 24, Flags [OT]:
Large Community (32), length: 24, Flags [OT]:
65536:1:1, 65536:1:2
Updated routes:
203.0.113.12/32
Update Message (2), length: 63
Origin (1), length: 1, Flags [T]: IGP
AS Path (2), length: 6, Flags [T]: 65536
Next Hop (3), length: 4, Flags [T]: 192.0.2.2
Large Community (30), length: 12, Flags [OT]:
Large Community (32), length: 12, Flags [OT]:
65536:1:1
Updated routes:
203.0.113.11/32
Update Message (2), length: 75
Origin (1), length: 1, Flags [T]: IGP
AS Path (2), length: 6, Flags [T]: 65536
Next Hop (3), length: 4, Flags [T]: 192.0.2.2
Large Community (30), length: 24, Flags [OT]:
Large Community (32), length: 24, Flags [OT]:
65536:0:1, 65536:1:0
Updated routes:
203.0.113.15/32
Update Message (2), length: 87
Origin (1), length: 1, Flags [T]: IGP
AS Path (2), length: 6, Flags [T]: 65536
Next Hop (3), length: 4, Flags [T]: 192.0.2.2
Large Community (30), length: 36, Flags [OT]:
Large Community (32), length: 36, Flags [OT]:
65536:1:1, 65536:1:2, 65536:1:3
Updated routes:
203.0.113.13/32
Binary file modified tests/bgp-large-community.pcap
Binary file not shown.

0 comments on commit e2adb16

Please sign in to comment.