mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-06 14:14:11 +08:00
tcpdump: Use stack variables
This commit is contained in:
parent
4a8e4d9326
commit
d8a584df97
@ -154,8 +154,8 @@ char *
|
|||||||
q922_string(netdissect_options *ndo, const u_char *p, u_int length)
|
q922_string(netdissect_options *ndo, const u_char *p, u_int length)
|
||||||
{
|
{
|
||||||
|
|
||||||
static u_int dlci, addr_len;
|
u_int dlci, addr_len;
|
||||||
static uint8_t flags[4];
|
uint8_t flags[4];
|
||||||
static char buffer[sizeof("DLCI xxxxxxxxxx")];
|
static char buffer[sizeof("DLCI xxxxxxxxxx")];
|
||||||
memset(buffer, 0, sizeof(buffer));
|
memset(buffer, 0, sizeof(buffer));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user