[rtems-libbsd commit] tcpdump: Use stack variables
Sebastian Huber
sebh at rtems.org
Mon Mar 11 09:05:30 UTC 2019
Module: rtems-libbsd
Branch: 5-freebsd-12
Commit: d8a584df97cb3c65e82613de58584b0a9e9dbecf
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=d8a584df97cb3c65e82613de58584b0a9e9dbecf
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Mar 11 09:29:19 2019 +0100
tcpdump: Use stack variables
---
freebsd/contrib/tcpdump/print-fr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/freebsd/contrib/tcpdump/print-fr.c b/freebsd/contrib/tcpdump/print-fr.c
index 25e0219..1b9f0c7 100644
--- a/freebsd/contrib/tcpdump/print-fr.c
+++ b/freebsd/contrib/tcpdump/print-fr.c
@@ -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));
More information about the vc
mailing list