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