aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-enttec.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-10-20 02:38:40 +0000
committerGuy Harris <guy@alum.mit.edu>2011-10-20 02:38:40 +0000
commita03cc7137b3bc9807a158f5a97ee1a0910f35bf9 (patch)
tree4d943cff993c0c6cfdaae842257464f055def6a1 /epan/dissectors/packet-enttec.c
parentab7ec88be559a78e696ab98d8a692bbf64746fbd (diff)
As bug 3954 notes, nowhere does RFC 3954 indicate that a system or
interface scope is always 4 bytes. For that matter, nowhere does it indicate that the scopes have any particular interpretation except as a sequence of octets. Get rid of the checks for a length of 4, and make ScopeSystem an FT_BYTES. If, by *convention*, they're usually IPv4 or IPv6 addresses, somebody can throw in code to display them as such if they happen to be 4 or 16 bytes, respectively. Leave ScopeInterface as an integer for now, in case, by convention, they're interface indices, but still leave the length check out. Fixes bug 3954. svn path=/trunk/; revision=39485
Diffstat (limited to 'epan/dissectors/packet-enttec.c')
0 files changed, 0 insertions, 0 deletions