From: Ted Lemon Date: Sun, 24 Oct 1999 17:17:22 +0000 (+0000) Subject: Bomb out when an interface matches two shared networks. X-Git-Tag: BCTEL_SPECIAL_19991124~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6255153ecbb52a6aa559f371fcd2be5bfa4ddd61;p=thirdparty%2Fdhcp.git Bomb out when an interface matches two shared networks. --- diff --git a/common/discover.c b/common/discover.c index cb8420200..d90e7a20f 100644 --- a/common/discover.c +++ b/common/discover.c @@ -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; }