diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-08-13 17:44:46 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-08-13 17:44:46 +0000 |
commit | 2f977e3c4dc10f9b01e72f3d11277764b1121c82 (patch) | |
tree | 6f3578299aa36766814c720bb18cba610830d1cb /sys/arch/sparc64/dev/ebus.c | |
parent | 17a6228d33d3763c5425ea637e6075066459ff69 (diff) |
one should never use sizeof(struct llc) since 802.2 LLC headers
have a variable length. use LLC_SNAPFRAMELEN instead (which happen
to be equal to sizeof(struct llc)) as we only deal with LLC+SNAP
headers.
some indentation tweaks while i'm here.
no binary change.
Diffstat (limited to 'sys/arch/sparc64/dev/ebus.c')
0 files changed, 0 insertions, 0 deletions