diff options
author | Luiz Souza <luiz@netgate.com> | 2017-10-08 15:05:08 -0500 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-10-08 15:05:08 -0500 |
commit | 9c27ea3dafe2b05007091b49d9699bfc148b1a51 (patch) | |
tree | 03ced381b1f1b886d83d3c3aa0d45aacf453b1e4 /lib | |
parent | d72196208717818079d18d16996cab726f8465b1 (diff) | |
download | FreeBSD-src-9c27ea3dafe2b05007091b49d9699bfc148b1a51.zip FreeBSD-src-9c27ea3dafe2b05007091b49d9699bfc148b1a51.tar.gz |
Revert "Increase the size of local storage to cope with the new IF_NAMESIZEi value."
This reverts commit d8b2e046db23fd736b231db4860cec01250fc580.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/linkaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/linkaddr.c b/lib/libc/net/linkaddr.c index 9be8e96..9432a53 100644 --- a/lib/libc/net/linkaddr.c +++ b/lib/libc/net/linkaddr.c @@ -122,7 +122,7 @@ static const char hexlist[] = "0123456789abcdef"; char * link_ntoa(const struct sockaddr_dl *sdl) { - static char obuf[128]; + static char obuf[64]; _Static_assert(sizeof(obuf) >= IFNAMSIZ + 20, "obuf is too small"); char *out; const u_char *in, *inlim; |