diff options
author | guy <guy> | 2000-12-18 05:41:58 +0000 |
---|---|---|
committer | guy <guy> | 2000-12-18 05:41:58 +0000 |
commit | 7c4458eb6a0cd2a617adb9a3bbca44e9f59f3937 (patch) | |
tree | 12eca44caea2ab4878e6693ade5d6ebc65604c53 /llc.h | |
parent | 93b36b0a34cd8e08831ca1f6a224c2efda95aa73 (diff) | |
download | tcpdump-7c4458eb6a0cd2a617adb9a3bbca44e9f59f3937.tar.gz |
Making "extracted_ethertype" static to "print-ether.c" broke other
dissectors that expected calls to "llc_print()" to set it. (Thanks and
a tip of the hat to Olaf Kirch <okir@caldera.de> for noticing this.)
Make "ether_encap_print()" and "llc_print()" take a pointer to an
extracted-Ethertype variable as an argument, have "llc_print()" pass it
to "ether_encap_print()", and have "ether_encap_print()" set what it
points to rather than setting a static "extracted_ethertype" variable.
Get rid of said static "extracted_ethertype" variable in favor of one
local to "ether_if_print()", just as other link-layer dissectors have
local "extracted_ethertype" variables.
Diffstat (limited to 'llc.h')
0 files changed, 0 insertions, 0 deletions