summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-06-06 16:42:41 +0000
committerrenato <renato@openbsd.org>2016-06-06 16:42:41 +0000
commit3ef68767bc7bb2834a3114f0456996e2e1aa9475 (patch)
tree69ed20b4d4872d6f099f92c74e995ec0f381e54b /lib/libc
parentAdd format attributes to the proper functions and then fix the warning in (diff)
downloadwireguard-openbsd-3ef68767bc7bb2834a3114f0456996e2e1aa9475.tar.xz
wireguard-openbsd-3ef68767bc7bb2834a3114f0456996e2e1aa9475.zip
Fix imsg parameter passing
When ldpe requests new network sockets to the parent process (after the transport-address is changed), it must specify the desired address-family (IPv4 or IPv6). We can use the 'pid' or 'peerid' members of the imsg_hdr structure for this. Use 'pid' for convenience (no need to extend the wrapper function, ldpe_imsg_compose_parent()).
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions