diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-05-16 18:52:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-05-16 18:52:37 +0000 |
commit | a304fe6092d48acbfc49d661438157cb61780240 (patch) | |
tree | 6d04953e7b96b152cab60f5c9dc2a0f7f2dc2756 /packet-bgp.c | |
parent | 4004d96518225c0ddbbedf4e8500a6d47b06be2b (diff) | |
download | wireshark-a304fe6092d48acbfc49d661438157cb61780240.tar.gz wireshark-a304fe6092d48acbfc49d661438157cb61780240.tar.bz2 wireshark-a304fe6092d48acbfc49d661438157cb61780240.zip |
Support for Cisco-proprietary capabilities in BGP, from
<bgp4news@yahoo.com>.
svn path=/trunk/; revision=3416
Diffstat (limited to 'packet-bgp.c')
-rw-r--r-- | packet-bgp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-bgp.c b/packet-bgp.c index 150f5a9b13..6966735733 100644 --- a/packet-bgp.c +++ b/packet-bgp.c @@ -2,7 +2,7 @@ * Routines for BGP packet dissection. * Copyright 1999, Jun-ichiro itojun Hagino <itojun@itojun.org> * - * $Id: packet-bgp.c,v 1.35 2001/04/23 18:19:02 guy Exp $ + * $Id: packet-bgp.c,v 1.36 2001/05/16 18:52:35 guy Exp $ * * Supports: * RFC1771 A Border Gateway Protocol 4 (BGP-4) @@ -72,6 +72,7 @@ static const value_string bgptypevals[] = { { BGP_NOTIFICATION, "NOTIFICATION Message" }, { BGP_KEEPALIVE, "KEEPALIVE Message" }, { BGP_ROUTE_REFRESH, "ROUTE-REFRESH Message" }, + { BGP_ROUTE_REFRESH_CISCO, "Cisco ROUTE-REFRESH Message" }, { 0, NULL }, }; @@ -401,6 +402,7 @@ dissect_bgp_open(tvbuff_t *tvb, int offset, proto_tree *tree) p++; } break; + case BGP_CAPABILITY_ROUTE_REFRESH_CISCO: case BGP_CAPABILITY_ROUTE_REFRESH: ti = proto_tree_add_text(subtree, tvb, p - 4, 2 + plen, "Route refresh capability (%u %s)", 2 + plen, @@ -1409,6 +1411,7 @@ dissect_bgp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case BGP_KEEPALIVE: bgp1_tree = proto_item_add_subtree(ti, ett_bgp); break; + case BGP_ROUTE_REFRESH_CISCO: case BGP_ROUTE_REFRESH: bgp1_tree = proto_item_add_subtree(ti, ett_bgp_route_refresh); break; @@ -1450,6 +1453,7 @@ dissect_bgp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case BGP_KEEPALIVE: /* no data in KEEPALIVE messages */ break; + case BGP_ROUTE_REFRESH_CISCO: case BGP_ROUTE_REFRESH: dissect_bgp_route_refresh(tvb, i, bgp1_tree); break; |