aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gre.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-08-06 10:04:15 +0000
committerGuy Harris <guy@alum.mit.edu>2000-08-06 10:04:15 +0000
commita056a4d4469a97fed144343020231083889aa987 (patch)
tree8674f6a4991e831c2e63ca459e868b72e3b29846 /packet-gre.c
parentef5f866b73430d1df38f2fdd0df16a6d83598744 (diff)
Use "BYTES_ARE_IN_FRAME()" rather than explicitly checking an offset and
packet length. Use "IS_DATA_IN_FRAME()", rather than checking if "offset+1" is greater than "pi.captured_len", to check whether there's any data left in the packet. Check whether data is in the packet *before* extracting it and stuffing an item into the tree with it. svn path=/trunk/; revision=2216
Diffstat (limited to 'packet-gre.c')
0 files changed, 0 insertions, 0 deletions