]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't make bogus statements a fatal error.
authorTed Lemon <source@isc.org>
Wed, 3 Jan 2001 23:15:33 +0000 (23:15 +0000)
committerTed Lemon <source@isc.org>
Wed, 3 Jan 2001 23:15:33 +0000 (23:15 +0000)
common/execute.c

index 0991b7a953df29292998171c005d0075b70d88ce..1a136e0e4e6385d939533421a4f1e0c63bd7a315 100644 (file)
@@ -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) {