]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- Provide information on how to get support (and how not to) if the server
authorTed Lemon <source@isc.org>
Fri, 1 Sep 2000 23:04:37 +0000 (23:04 +0000)
committerTed Lemon <source@isc.org>
Fri, 1 Sep 2000 23:04:37 +0000 (23:04 +0000)
  exits with an error.

omapip/errwarn.c

index 9d391bca0378378019b12d02f8e7868e7a534138..1013015281a506cce50b4b2f937cab394da67e4a 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: errwarn.c,v 1.5 2000/06/29 20:05:13 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: errwarn.c,v 1.6 2000/09/01 23:04:37 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include <omapip/omapip_p.h>
@@ -81,11 +81,18 @@ void log_fatal (const char * fmt, ... )
          write (2, "\n", 1);
   }
 
-  syslog (LOG_CRIT, "exiting.");
-  if (log_perror) {
-       fprintf (stderr, "exiting.\n");
-       fflush (stderr);
-  }
+#if !defined (NOMINUM)
+  log_error ("If you did not get this software from ftp.isc.org, please");
+  log_error ("get the latest from ftp.isc.org and install that before");
+  log_error ("requesting help.");
+  log_error ("If you did get this software from ftp.isc.org and have not");
+  log_error ("yet read the README, please read it before requesting help.");
+  log_error ("If you intend to request help from the dhcp-server@isc.org");
+  log_error ("mailing list, please read the section on the README about");
+  log_error ("submitting bug reports and requests for help.");
+  log_error ("");
+  log_error ("exiting.");
+#endif
   if (log_cleanup)
          (*log_cleanup) ();
   exit (1);