diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-15 04:39:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-15 04:39:28 +0000 |
commit | 903a3db8c19457feb568e7bfc0adc3daaf341323 (patch) | |
tree | 95370201a146dce7b74662ce52f73baffa5e90a3 /packet-lapd.c | |
parent | 254179eec8c38183c3861d30a980f1571c05345c (diff) | |
download | wireshark-903a3db8c19457feb568e7bfc0adc3daaf341323.tar.gz wireshark-903a3db8c19457feb568e7bfc0adc3daaf341323.tar.bz2 wireshark-903a3db8c19457feb568e7bfc0adc3daaf341323.zip |
"get_netbios_name()" can never return a negative number as the name
type, so "netbios_add_name()" doesn't need to check for it doing so
(yes, the tvbuff stuff *does* catch "get_netbios_name()" running past
the end of the packet, and causes an exception to be thrown). Get rid
of the check, and get rid of "netbios_add_name()"s return value.
In "dissect_nbipx_dg()", always call the SMB dissector if there's data
left in the packet, regardless of whether the "tree" argument is null or
not; subdissectors should always be called, so they can build any
internal state on the first pass through the capture, and so that they
can fill in the Protocol and Info columns.
svn path=/trunk/; revision=2899
Diffstat (limited to 'packet-lapd.c')
0 files changed, 0 insertions, 0 deletions