Commit 948c51fa authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

Compilation problem with gcc4.5 and omshell.c resolved. [ISC-Bugs #23831]

parent 05f7a27e
......@@ -163,6 +163,8 @@ work on other platforms. Please report any problems and suggested fixes to
- Code cleanup
[ISC-Bugs #13151] remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
- Compilation problem with gcc4.5 and omshell.c resolved. [ISC-Bugs #23831]
Changes since 4.1-ESV-R1
! In dhclient check the data for some string options for
......
......@@ -190,11 +190,11 @@ main(int argc, char **argv) {
break;
case END_OF_FILE:
case EOL:
case ENDOFLINE: /* EOL: */
break;
case TOKEN_HELP:
case '?':
case QUESTIONMARK: /* '?': */
printf ("Commands:\n");
printf (" port <server omapi port>\n");
printf (" server <server address>\n");
......
......@@ -3,8 +3,8 @@
Tokens for config file lexer and parser. */
/*
* Copyright (c) 2004,2007-2009,2011 by
* Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2011 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004,2007-2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
* Permission to use, copy, modify, and distribute this software for any
......@@ -47,12 +47,14 @@ enum dhcp_token {
TILDE = '~',
BANG = '!',
PERCENT = '%',
PLUS = '+',
PLUS = '+',
MINUS = '-',
ASTERISK = '*',
AMPERSAND = '&',
PIPE = '|',
CARET = '^',
ENDOFLINE = '\n',
QUESTIONMARK = '?',
HOST = 256,
FIRST_TOKEN = HOST,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment