From: Ted Lemon Date: Wed, 3 Jan 2001 23:15:33 +0000 (+0000) Subject: Don't make bogus statements a fatal error. X-Git-Tag: V3-BETA-2-PATCH-12~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bf47722e9d20940ff14e8e4612753f914179d27;p=thirdparty%2Fdhcp.git Don't make bogus statements a fatal error. --- diff --git a/common/execute.c b/common/execute.c index 0991b7a95..1a136e0e4 100644 --- a/common/execute.c +++ b/common/execute.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: execute.c,v 1.42 2000/12/02 00:04:22 neild Exp $ Copyright (c) 1998-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: execute.c,v 1.43 2001/01/03 23:15:33 mellon Exp $ Copyright (c) 1998-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -445,7 +445,8 @@ int execute_statements (result, packet, lease, client_state, break; default: - log_fatal ("bogus statement type %d", r -> op); + log_error ("bogus statement type %d", r -> op); + break; } executable_statement_dereference (&r, MDL); if (next) {