From 370ddddb9404be5772f22d245689963329078019 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 15 May 2021 22:33:50 +0200 Subject: WIP: pd_manager ustream_poll --- src/dhcpv6-ia.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index 639e368..d59ad81 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -615,6 +615,13 @@ static bool assign_pd(struct interface *iface, struct dhcp_assignment *assign) return false; } + /* Process input */ + syslog(LOG_INFO, "ustream_poll do"); + while (ustream_poll(&assign->managed_sock.stream)) { + syslog(LOG_INFO, "ustream_poll returned true"); + } + syslog(LOG_INFO, "ustream_poll done"); + managed_handle_pd_data(&assign->managed_sock.stream, 0); if (fcntl(fd, F_GETFL) >= 0 && assign->managed_size > 0) -- cgit v1.2.3