mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 02:23:27 +08:00
Another EXTRACT_U_1() replacing a direct dereference.
This commit is contained in:
parent
93e131bf37
commit
498aed69df
@ -166,7 +166,7 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen,
|
||||
return (length);
|
||||
}
|
||||
|
||||
dsap_field = *p;
|
||||
dsap_field = EXTRACT_U_1(p);
|
||||
ssap_field = EXTRACT_U_1(p + 1);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user