summaryrefslogtreecommitdiff
path: root/gdhcp/server.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-01-05 11:42:07 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-01-05 11:52:48 +0100
commitf13255cfe3c98ce4e7598f9bda03b4dc0ac837a1 (patch)
tree25a552a041b950571d24934b0ce48fcd9a59a1d0 /gdhcp/server.c
parentb5279a24602a3f259e3188f95aa9d31d54997ba0 (diff)
downloadconnman-f13255cfe3c98ce4e7598f9bda03b4dc0ac837a1.tar.gz
connman-f13255cfe3c98ce4e7598f9bda03b4dc0ac837a1.tar.bz2
connman-f13255cfe3c98ce4e7598f9bda03b4dc0ac837a1.zip
gdhcp: Generic stateless DHCPv6 support.
The patch adds support for information-request DHCPv6 message.
Diffstat (limited to 'gdhcp/server.c')
-rw-r--r--gdhcp/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdhcp/server.c b/gdhcp/server.c
index 4f0b5b76..34ec21ed 100644
--- a/gdhcp/server.c
+++ b/gdhcp/server.c
@@ -754,7 +754,7 @@ int g_dhcp_server_start(GDHCPServer *dhcp_server)
return 0;
listener_sockfd = dhcp_l3_socket(SERVER_PORT,
- dhcp_server->interface);
+ dhcp_server->interface, AF_INET);
if (listener_sockfd < 0)
return -EIO;