Commit 0e5c1661 authored by Thomas Markwalder's avatar Thomas Markwalder

[master] Corrects impossible condition error in the server

    Merges in rt36118.
parent ecf793da
......@@ -305,6 +305,11 @@ dhcp-users@lists.isc.org.
local-address6 destination.
[ISC-Bugs #46084]
- Removed an "Impossible condition" error upon exit in the dhcpd server that
has been shutdown via OMAPI. This condition was only apparent under Solaris
when building with --enable-use-sockets and --enable-ipv4-pktinfo.
[ISC-Bugs #36118]
Changes since 4.3.6 (Bugs):
- Corrected an issue where the server would return a client's previously
......
......@@ -420,7 +420,6 @@ void if_deregister_receive (info)
#if defined(IP_PKTINFO) && defined(IP_RECVPKTINFO) && defined(USE_V4_PKTINFO)
/* Dereference the global v4 socket. */
if ((info->rfdesc == global_v4_socket) &&
(info->wfdesc == global_v4_socket) &&
(global_v4_socket_references > 0)) {
global_v4_socket_references--;
info->rfdesc = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment