aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-10-25 00:28:40 +0000
committerGuy Harris <guy@alum.mit.edu>2005-10-25 00:28:40 +0000
commitf3144c4fefd86868417afa687533afbdd4d27afe (patch)
treebd6dac249772094b522da3d4222731989be6442b /packaging
parent74d1997f406288dd48e5dbd7359cb7d042dfd417 (diff)
Clean up "print_address()" - fix the indentation, do the check for a
too-large address in common code, and *don't* use tvb_get_letohl() to get IPv4 addresses (just use proto_tree_add_item(), it works Just Fine). For integral values, always do the tvb_ensure_bytes_exist() test; don't just do it if the length is the expected value (the real problem is with bogus too-large lengths, so it's more important to do the check if the length *isn't* the expected value!). Fixes bug 549. svn path=/trunk/; revision=16298
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions