47#define CVT_BUF_MAX 1023
60 strcpy(url,
"https://bugzilla.redhat.com/");
98 vsnprintf (mbuf,
sizeof mbuf, fbuf, list);
112 log_error (
"This version of ISC DHCP is based on the release available");
113 log_error (
"on ftp.isc.org. Features have been added and other changes");
114 log_error (
"have been made to the base software release in order to make");
115 log_error (
"it work better with this distribution.");
117 log_error (
"Please report issues with this software via: ");
139 vsnprintf (mbuf,
sizeof mbuf, fbuf, list);
166 vsnprintf (mbuf,
sizeof mbuf, fbuf, list);
193 vsnprintf (mbuf,
sizeof mbuf, fbuf, list);
215 const char *
s =
ibuf;
230 m =
"<unknown error>";
279 return "Permission denied";
281 return "Address already in use";
283 return "Cannot assign requested address";
285 return "Address family not supported by protocol family";
287 return "Operation already in progress";
289 return "Software caused connection abort";
291 return "Connection refused";
293 return "Connection reset by peer";
295 return "Destination address required";
297 return "Bad address";
299 return "Host is down";
301 return "No route to host";
303 return "Operation now in progress";
305 return "Interrupted function call";
307 return "Invalid argument";
309 return "Socket is already connected";
311 return "Too many open files";
313 return "Message too long";
315 return "Network is down";
317 return "Network dropped connection on reset";
319 return "Network is unreachable";
321 return "No buffer space available";
323 return "Bad protocol option";
325 return "Socket is not connected";
327 return "Socket operation on non-socket";
329 return "Operation not supported";
331 return "Protocol family not supported";
333 return "Too many processes";
335 return "Protocol not supported";
337 return "Protocol wrong type for socket";
339 return "Cannot send after socket shutdown";
341 return "Socket type not supported";
343 return "Connection timed out";
345 return "Resource temporarily unavailable";
347 return "Host not found";
350 return "Specified event object handle is invalid";
352 return "One or more parameters are invalid";
354 return "Invalid procedure table from service provider";
356 return "Invalid service provider version number";
358 return "Overlapped operations will complete later";
360 return "Overlapped I/O event object not in signaled state";
362 return "Insufficient memory available";
365 return "Successful WSAStartup not yet performer";
367 return "Valid name, no data record of requested type";
369 return "This is a non-recoverable error";
372 return "Unable to initialize a service provider";
374 return "System call failure";
377 return "Network subsystem is unavailable";
379 return "Non-authoritative host not found";
381 return "WINSOCK.DLL version out of range";
383 return "Graceful shutdown in progress";
386 return "Overlapped operation aborted";
389 return "Unknown WinSock error";
void(* log_cleanup)(void)
int log_debug(const char *fmt,...)
void do_percentm(char *obuf, size_t obufsize, const char *ibuf)
void log_fatal(const char *fmt,...)
int log_info(const char *fmt,...)
int log_error(const char *fmt,...)
char * bug_report_url(void)