summaryrefslogtreecommitdiff
path: root/llc.h
diff options
context:
space:
mode:
authorguy <guy>2000-12-18 05:41:58 +0000
committerguy <guy>2000-12-18 05:41:58 +0000
commit7c4458eb6a0cd2a617adb9a3bbca44e9f59f3937 (patch)
tree12eca44caea2ab4878e6693ade5d6ebc65604c53 /llc.h
parent93b36b0a34cd8e08831ca1f6a224c2efda95aa73 (diff)
downloadtcpdump-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