summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormbalmer <mbalmer@openbsd.org>2008-05-21 08:44:19 +0000
committermbalmer <mbalmer@openbsd.org>2008-05-21 08:44:19 +0000
commit8c9338ab4f99054424734b8d0617f00b64245e1d (patch)
tree13bb1d586a3f3d1e61958944979bdf1325ff8329 /sys
parentsync (diff)
downloadwireguard-openbsd-8c9338ab4f99054424734b8d0617f00b64245e1d.tar.xz
wireguard-openbsd-8c9338ab4f99054424734b8d0617f00b64245e1d.zip
The default address family to be used is stored in a global variable. If
no options are given on the commandline, it is set to PF_INET. The configuration file parser did not use this variable in all cases, but used PF_UNSPEC for getaddrinfo/getnameinfo, leading to bogus error messages in some cases (but httpd operated as expected). Use the global variable instead of the hardcode PF_UNSPEC in the cases. Add a new commandline flag, -U, to set the default address family to PF_UNSPEC for ambigous directives. Discussed with sthen.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions