diff options
author | 2008-05-21 08:44:19 +0000 | |
---|---|---|
committer | 2008-05-21 08:44:19 +0000 | |
commit | 8c9338ab4f99054424734b8d0617f00b64245e1d (patch) | |
tree | 13bb1d586a3f3d1e61958944979bdf1325ff8329 /sys/dev/isa/pnpdevs.h | |
parent | sync (diff) | |
download | wireguard-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/dev/isa/pnpdevs.h')
0 files changed, 0 insertions, 0 deletions