diff options
author | Michael Mann <mmann78@netscape.net> | 2013-07-28 00:07:49 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-07-28 00:07:49 +0000 |
commit | a87f47c02c5d8d8723ebb39c7de3f0068434dc8f (patch) | |
tree | 774aef015dcfc0708b3682b23fed04e11064af4d /epan/dfilter/semcheck.c | |
parent | b9870c0969491ab5e0989864bfb1760995aed627 (diff) |
Make many items filterable for Vines dissectors.
Add support for FT_VINES type.
svn path=/trunk/; revision=50962
Diffstat (limited to 'epan/dfilter/semcheck.c')
-rw-r--r-- | epan/dfilter/semcheck.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dfilter/semcheck.c b/epan/dfilter/semcheck.c index 5f061a67a9..39cf8d7030 100644 --- a/epan/dfilter/semcheck.c +++ b/epan/dfilter/semcheck.c @@ -82,8 +82,9 @@ compatible_ftypes(ftenum_t a, ftenum_t b) case FT_GUID: case FT_OID: case FT_AX25: + case FT_VINES: - return (b == FT_ETHER || b == FT_BYTES || b == FT_UINT_BYTES || b == FT_GUID || b == FT_OID || b == FT_AX25); + return (b == FT_ETHER || b == FT_BYTES || b == FT_UINT_BYTES || b == FT_GUID || b == FT_OID || b == FT_AX25 || b == FT_VINES); case FT_BOOLEAN: case FT_FRAMENUM: @@ -177,6 +178,7 @@ mk_fvalue_from_val_string(header_field_info *hfinfo, char *s) case FT_IPv6: case FT_IPXNET: case FT_AX25: + case FT_VINES: case FT_ETHER: case FT_BYTES: case FT_UINT_BYTES: @@ -287,6 +289,7 @@ is_bytes_type(enum ftenum type) { switch(type) { case FT_AX25: + case FT_VINES: case FT_ETHER: case FT_BYTES: case FT_UINT_BYTES: |