]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Make the omapi statement in the client config actually work.
authorTed Lemon <source@isc.org>
Thu, 5 Apr 2001 20:37:55 +0000 (20:37 +0000)
committerTed Lemon <source@isc.org>
Thu, 5 Apr 2001 20:37:55 +0000 (20:37 +0000)
client/clparse.c

index c506febe8dd4284a992f9b12b766df0afa94c409..f8f701df8e68650203800f42bd0f3d7d1e407e82 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: clparse.c,v 1.59 2001/03/22 06:55:31 mellon Exp $ Copyright (c) 1996-2001 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: clparse.c,v 1.60 2001/04/05 20:37:55 mellon Exp $ Copyright (c) 1996-2001 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -408,6 +408,7 @@ void parse_client_statement (cfile, ip, config)
                return;
 
              case OMAPI:
+               token = next_token (&val, (unsigned *)0, cfile);
                token = next_token (&val, (unsigned *)0, cfile);
                if (token != PORT) {
                        parse_warn (cfile,