#ifndef lint
static char copyright[] =
-"$Id: socket.c,v 1.56 2002/06/09 22:17:09 murray Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: socket.c,v 1.57 2002/06/09 22:19:37 murray Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
status = recvfrom (interface -> wfdesc, buf, sizeof buf, 0,
(struct sockaddr *)&from, &flen);
+#if defined (DEBUG)
+ /* Only report fallback discard errors if we're debugging. */
if (status < 0) {
log_error ("fallback_discard: %m");
return ISC_R_UNEXPECTED;
}
+#endif
return ISC_R_SUCCESS;
}
#endif /* USE_SOCKET_FALLBACK */