]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add a more informative message to the interface/declaration complaint.
authorTed Lemon <source@isc.org>
Tue, 13 Jul 1999 12:58:03 +0000 (12:58 +0000)
committerTed Lemon <source@isc.org>
Tue, 13 Jul 1999 12:58:03 +0000 (12:58 +0000)
common/discover.c

index 3529cc81aafe4fe7d4c82473cfa2caff6d2450ed..21144db127b72bc38796b8bac56b824da62ac60c 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: discover.c,v 1.9 1999/04/23 15:23:08 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: discover.c,v 1.10 1999/07/13 12:58:03 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -440,10 +440,10 @@ void discover_interfaces (state)
                if (!tmp -> shared_network && (state == DISCOVER_SERVER)) {
                        log_error ("No subnet declaration for %s (%s).",
                                   tmp -> name, inet_ntoa (foo.sin_addr));
-                       log_error ("Please write a subnet declaration for %s",
-                                  "the network segment to");
-                       log_fatal ("which interface %s is attached.",
-                                  tmp -> name);
+                       log_error ("Please write a subnet declaration in %s",
+                                  "your dhcpd.conf file for the");
+                       log_fatal ("network segment to which interface %s %s",
+                                  tmp -> name, "is attached.");
                }
 
                /* Find subnets that don't have valid interface