aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bgp.c
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-03-26 12:02:19 +0300
committerAnders Broman <a.broman58@gmail.com>2018-03-27 11:56:54 +0000
commit3ebfa39cef0abeb2954c33eea33980a7df895a0f (patch)
tree90893219cbbf90967f811854ec821c9401918209 /epan/dissectors/packet-bgp.c
parentd3fcde643e241ad01f83651e04ffd3b36ef94736 (diff)
BGP path attribute AGGREGATOR (7) may be 32bits
https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml https://tools.ietf.org/html/rfc4893 ------------------------------------------- NEW BGP speakers carry AS path information expressed in terms of 4- octet Autonomous Systems numbers by using the existing AS_PATH attribute, except that each AS number in this attribute is encoded not as a 2-octet, but as a 4-octet entity. The same applies to the AGGREGATOR attribute - NEW BGP speakers use the same attribute, except that the AS carried in this attribute is encoded as a 4-octet entity. ------------------------------------------- Change-Id: I4ccfc2c18e8777a800211dd285550723ac0da872 Reviewed-on: https://code.wireshark.org/review/26647 Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-bgp.c')
-rw-r--r--epan/dissectors/packet-bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index 73c60f6c8f..706e127f37 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -8510,7 +8510,7 @@ proto_register_bgp(void)
NULL, 0x0, NULL, HFILL}},
{ &hf_bgp_update_path_attribute_aggregator_as,
- { "Aggregator AS", "bgp.update.path_attribute.aggregator_as", FT_UINT16, BASE_DEC,
+ { "Aggregator AS", "bgp.update.path_attribute.aggregator_as", FT_UINT32, BASE_DEC,
NULL, 0x0, NULL, HFILL}},
/* BGP update path attributes */
{ &hf_bgp_update_path_attributes,