}
} else {
if (!a->entry_group) {
-/* a->entry_group = flx_entry_group_new(m->server, NULL, NULL); */
-/* flx_server_add_address(m->server, a->entry_group, a->interface->hardware->index, AF_UNSPEC, 0, NULL, &a->address); */
-/* flx_entry_group_commit(a->entry_group); */
+ a->entry_group = flx_entry_group_new(m->server, NULL, NULL);
+ flx_server_add_address(m->server, a->entry_group, a->interface->hardware->index, AF_UNSPEC, 0, NULL, &a->address);
+ flx_entry_group_commit(a->entry_group);
}
}
}
flx = flx_server_new(NULL);
- g = flx_entry_group_new(flx, entry_group_callback, NULL);
+/* g = flx_entry_group_new(flx, entry_group_callback, NULL); */
/* flx_server_add_text(flx, g, 0, AF_UNSPEC, FLX_ENTRY_UNIQUE, NULL, "hallo", NULL); */
- flx_server_add_service(flx, g, 0, AF_UNSPEC, "_http._tcp", "gurke", NULL, NULL, 80, "foo", NULL);
+/* flx_server_add_service(flx, g, 0, AF_UNSPEC, "_http._tcp", "gurke", NULL, NULL, 80, "foo", NULL); */
- flx_entry_group_commit(g);
+/* flx_entry_group_commit(g); */
flx_server_dump(flx, stdout);
s->need_entry_cleanup = s->need_group_cleanup = FALSE;
s->fd_ipv4 = flx_open_socket_ipv4();
- s->fd_ipv6 = -1 /*flx_open_socket_ipv6() */;
+ s->fd_ipv6 = flx_open_socket_ipv6();
if (s->fd_ipv6 < 0 && s->fd_ipv4 < 0) {
g_critical("Failed to create IP sockets.\n");