]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Bomb out when an interface matches two shared networks.
authorTed Lemon <source@isc.org>
Sun, 24 Oct 1999 17:17:22 +0000 (17:17 +0000)
committerTed Lemon <source@isc.org>
Sun, 24 Oct 1999 17:17:22 +0000 (17:17 +0000)
common/discover.c

index cb8420200f1b6ae626f8a4e3b9dc33eab2a43f8f..d90e7a20f37a6563805beeba18d8c68e9294b13f 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: discover.c,v 1.16 1999/10/08 17:08:33 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: discover.c,v 1.17 1999/10/24 17:17:22 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -234,9 +234,9 @@ void discover_interfaces (state)
                                share = subnet -> shared_network;
                                if (tmp -> shared_network &&
                                    tmp -> shared_network != share) {
-                                       log_error ("Interface %s matches %s",
-                                             tmp -> name,
-                                             "multiple shared networks");
+                                       log_fatal ("Interface %s matches %s",
+                                                  tmp -> name,
+                                                  "multiple shared networks");
                                } else {
                                        tmp -> shared_network = share;
                                }