diff options
author | Edwin Fine <[email protected]> | 2016-07-22 20:15:54 -0400 |
---|---|---|
committer | Edwin Fine <[email protected]> | 2016-07-24 15:03:47 -0400 |
commit | 7babe1a82adc9dd1deb1b43074ac184f89fda945 (patch) | |
tree | a851e51b92d09d2c25092bd224c1df5f859c8fe7 /lib/inets/src/http_server/mod_auth_dets.erl | |
parent | 485bc1fbddda0413df6d8b4ad195f1307de863cd (diff) | |
download | otp-7babe1a82adc9dd1deb1b43074ac184f89fda945.tar.gz otp-7babe1a82adc9dd1deb1b43074ac184f89fda945.tar.bz2 otp-7babe1a82adc9dd1deb1b43074ac184f89fda945.zip |
Fix httpd_conf:validate_properties/1 for ipfamily
inets:start/2 fails when using the legacy option inet6fb4 with a
configuration proplist. It is not translated to inet as documented.
This breaks existing code that relies on the documented behavior.
This commit fixes the issue by translating inet6fb4 everywhere it is
encountered in httpd_conf:validate_properties/1.
From inets documentation (http://erlang.org/doc/man/httpd.html):
{ipfamily, inet | inet6}
Default is inet, legacy option inet6fb4 no longer makes sense
and will be translated to inet.
Fixes ERL-200.
Diffstat (limited to 'lib/inets/src/http_server/mod_auth_dets.erl')
0 files changed, 0 insertions, 0 deletions