]> The Tcpdump Group git mirrors - libpcap/commit
rpcapd: note the alignment issue, get rid of an extra pointer variable.
authorGuy Harris <[email protected]>
Wed, 21 Jul 2021 20:56:19 +0000 (13:56 -0700)
committerGuy Harris <[email protected]>
Sun, 20 Feb 2022 22:53:46 +0000 (14:53 -0800)
commit099c73ff2b08e2ec32b3045a20f71035bd85123e
tree3139a14cf3713acac62fa8c8ede5e4038b8ec4b8
parent898dac2b1a0ed28757a38084f28cd10c95d1b033
rpcapd: note the alignment issue, get rid of an extra pointer variable.

Add a comment noting why we aren't just filling in structures in the
output buffer when constructing a findalldevs response.

Instead of naming the address structures "tmp", and having a pointer to
them, just give them regular names and fill them in without a pointer.

Make some white space stylistic changes while we're at it.

(cherry picked from commit 0d1d99c1a4e0fba5173bc0d77e1e6ce86446262a)
rpcapd/daemon.c