commit | c91c13825fc023ccb349105cf9acb5e699c11223 | [log] [tgz] |
---|---|---|
author | Guy Harris <guy@alum.mit.edu> | Tue Aug 18 14:56:06 2009 -0700 |
committer | Guy Harris <guy@alum.mit.edu> | Tue Aug 18 14:56:06 2009 -0700 |
tree | 779c1eddf3ad54294607bdf8251eeab5aa961158 | |
parent | 9da2a96bb5e968223e19bf0a6342d1b9ada1efbc [diff] |
Just use a u_char * to go through the packet data; don't try to be clever and use a u_int16_t * - the generated code will be the same, and this code works even if the Offset Size field value is odd.