]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup no-ip4 error callback.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 7 May 2008 07:53:57 +0000 (07:53 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 7 May 2008 07:53:57 +0000 (07:53 +0000)
git-svn-id: file:///svn/unbound/trunk@1077 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
services/outside_network.c

index 13bf211a4ee59127af2693974f65e2becfa117e3..657f13c69ca61d74272e02ed485d3f50e96af784 100644 (file)
@@ -1,3 +1,6 @@
+7 May 2008: Wouter
+       - fixup no-ip4 problem with error callback in outside network.
+
 25 April 2008: Wouter
        - DESTDIR is honored by the Makefile for rpms.
        - contrib files unbound.spec and unbound.init, builds working RPM
index 3ab3cb1580ebbafa9068004869e1af3c77240754..c7c4b1f0255fa4e38586e9b151edea96ed0f0dcb 100644 (file)
@@ -273,7 +273,7 @@ outnet_send_wait_udp(struct outside_network* outnet)
                        pend->timeout)) {
                        /* callback error on pending */
                        fptr_ok(fptr_whitelist_pending_udp(pend->cb));
-                       (void)(*pend->cb)(pend->pc->cp, pend->cb_arg, 
+                       (void)(*pend->cb)(outnet->unused_fds->cp, pend->cb_arg, 
                                NETEVENT_CLOSED, NULL);
                        pending_delete(outnet, pend);
                }