diff options
author | 2016-06-06 16:42:41 +0000 | |
---|---|---|
committer | 2016-06-06 16:42:41 +0000 | |
commit | 3ef68767bc7bb2834a3114f0456996e2e1aa9475 (patch) | |
tree | 69ed20b4d4872d6f099f92c74e995ec0f381e54b /lib/libc | |
parent | Add format attributes to the proper functions and then fix the warning in (diff) | |
download | wireguard-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