summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/if.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-11-22 00:52:40 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-11-22 00:52:40 +0000
commitf32af18bc6c58db3dc3331a3d25e7ed3d73258ab (patch)
treecc9a774c9e62ea0ed2503b903026e93453ed3c3b /usr.bin/netstat/if.c
parent22a15f3c65570f7b287111482534b1c33d1a78ca (diff)
Move wNAF[], wNAF_len[], wsize[] to the stack
Again, we know their sizes (always 2), so we can avoid allocating and freeing them. Also remove the extra "pivot" element. It's not needed. ok djm
Diffstat (limited to 'usr.bin/netstat/if.c')
0 files changed, 0 insertions, 0 deletions