if (request->listener->type == RAD_LISTEN_DETAIL) goto done;
#endif
+#ifdef WITH_DHCP
+ /*
+ * If the packets are from the DHCP, we can clean them up now.
+ */
+ if (request->listener->type == RAD_LISTEN_DHCP) goto done;
+#endif
+
if (!request->root->cleanup_delay) goto done;
gettimeofday(&now, NULL);
}
#endif
+#ifdef WITH_DHCP
+ /*
+ * If the packets are from DHCP, we can clean them up now.
+ */
+ if (request->listener->type == RAD_LISTEN_DHCP) {
+ NO_CHILD_THREAD;
+ request->child_state = REQUEST_DONE;
+ return;
+ }
+#endif
+
#ifdef WITH_COA
/*
* If we've originated this CoA request, it gets