diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-05-12 12:36:33 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-06-06 12:26:10 +1000 |
commit | 8f3ce14ea744d721636d3e096ae1f021aae042bd (patch) | |
tree | 6396fe152d179274a9bc6fec0e4ae1cf7e9bff97 /source4/web_server | |
parent | dc8c8fd9e4f85974cd0665e613d4422ba8dd900e (diff) | |
download | samba-8f3ce14ea744d721636d3e096ae1f021aae042bd.tar.gz samba-8f3ce14ea744d721636d3e096ae1f021aae042bd.tar.bz2 samba-8f3ce14ea744d721636d3e096ae1f021aae042bd.zip |
s4-ipv6: use "ip" instead of "ipv4" for servers
this allows stream_setup_socket() to work with both v4 and v6
addresses
Diffstat (limited to 'source4/web_server')
-rw-r--r-- | source4/web_server/web_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index c43b2cfc7b..74af4f9701 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -328,7 +328,7 @@ static void websrv_task_init(struct task_server *task) task->event_ctx, task->lp_ctx, model_ops, &web_stream_ops, - "ipv4", address, + "ip", address, &port, lpcfg_socket_options(task->lp_ctx), task); if (!NT_STATUS_IS_OK(status)) goto failed; |