]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: pass userdata pointer, not inet_addr union
authorFlorian Westphal <fw@strlen.de>
Tue, 13 Oct 2020 18:29:09 +0000 (20:29 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 15 Dec 2020 23:35:56 +0000 (00:35 +0100)
commitf51343d0af559ed0d00f4dc82b9d3d9e784eea23
treec92b4c002262f80ee648655bd132f9d967e39481
parent3122097217a6ea44709c6ec053e57097df921331
nspawn: pass userdata pointer, not inet_addr union

Next patch will need to pass two pointers to the callback instead
of just the addr mask.  Caller will pass a compound structure, so
make this 'void *userdata' to de-clutter the next patch.
src/nspawn/nspawn-expose-ports.c
src/nspawn/nspawn-expose-ports.h