diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-05-15 22:33:50 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-07-15 00:45:39 +0200 |
commit | 370ddddb9404be5772f22d245689963329078019 (patch) | |
tree | fead40c933a49ea3fd1393873ac17db24713b052 | |
parent | 564d25e53fad925fa3ed56e3004c107d40925fa4 (diff) |
WIP: pd_manager ustream_poll
-rw-r--r-- | src/dhcpv6-ia.c | 7 |
1 files changed, 7 insertions, 0 deletions
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) |