getsockname(2) needs to be passed the length of the input struct.
authorpatrick <patrick@openbsd.org>
Wed, 13 Dec 2017 08:27:06 +0000 (08:27 +0000)
committerpatrick <patrick@openbsd.org>
Wed, 13 Dec 2017 08:27:06 +0000 (08:27 +0000)
commitf3ef710218e26c8b9c782d1aef5a90270c49ac33
tree545adf9a3b1379942d57c9113d9a8d4c18abc57c
parentf0aa7c202673fe831c07ad6cb3a1c5751e682a37
getsockname(2) needs to be passed the length of the input struct.

ok jca@
sbin/iked/util.c