diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-05-25 17:47:00 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-05-25 17:47:00 +0000 |
commit | e441284063b81c455d3d8531536b4743760ccf60 (patch) | |
tree | 2eebd77f4dde585addc75e91ae8b13a69c70e48c /epan/dissectors/packet-bgp.h | |
parent | 892d3112ed3ac707e3f720f9aeba0fecc4d44500 (diff) |
Fix for bug 4782:
Use proper bitmask to test the "MATCH"-part.
svn path=/trunk/; revision=32947
Diffstat (limited to 'epan/dissectors/packet-bgp.h')
-rw-r--r-- | epan/dissectors/packet-bgp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bgp.h b/epan/dissectors/packet-bgp.h index 1efb7ed86f..be421ee88d 100644 --- a/epan/dissectors/packet-bgp.h +++ b/epan/dissectors/packet-bgp.h @@ -134,9 +134,9 @@ struct bgp_attr { #define BGP_ORF_ADD 0x00 #define BGP_ORF_REMOVE 0x40 #define BGP_ORF_REMOVEALL 0x80 -#define BGP_ORF_MATCH 0x10 +#define BGP_ORF_MATCH 0x20 #define BGP_ORF_PERMIT 0x00 -#define BGP_ORF_DENY 0x10 +#define BGP_ORF_DENY 0x20 /* well-known communities, from RFC1997 */ #define BGP_COMM_NO_EXPORT 0xFFFFFF01 |