diff options
Diffstat (limited to 'client/clparse.c')
-rw-r--r-- | client/clparse.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/client/clparse.c b/client/clparse.c index 35e2d164..74ca499d 100644 --- a/client/clparse.c +++ b/client/clparse.c @@ -3,7 +3,7 @@ Parser for dhclient config and lease files... */ /* - * Copyright (c) 2004-2019 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2022 Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1996-2003 by Internet Software Consortium * * This Source Code Form is subject to the terms of the Mozilla Public @@ -19,8 +19,8 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * Internet Systems Consortium, Inc. - * 950 Charter Street - * Redwood City, CA 94063 + * PO Box 360 + * Newmarket, NH 03857 USA * <info@isc.org> * https://www.isc.org/ * @@ -62,7 +62,7 @@ isc_result_t read_client_conf () isc_result_t status; unsigned code; - /* + /* * TODO: LATER constant is very undescriptive. We should review it and * change it to something more descriptive or even better remove it * completely as it is currently not used. @@ -162,7 +162,7 @@ isc_result_t read_client_conf () } } #endif - + /* Initialize the top level client configuration. */ memset (&top_level_config, 0, sizeof top_level_config); @@ -317,7 +317,7 @@ void read_client_duid () /* * All we care about is DUIDs - if we get anything else * just toss it and continue looking for DUIDs until we - * run out of file. + * run out of file. */ if (token == DEFAULT_DUID) { parse_client_default_duid(cfile); @@ -377,7 +377,7 @@ void read_client_leases () end_parse (&cfile); } -/* client-declaration :== +/* client-declaration :== SEND option-decl | DEFAULT option-decl | SUPERSEDE option-decl | @@ -430,7 +430,7 @@ void parse_client_statement (cfile, ip, config) parse_semi (cfile); } return; - + case KEY: skip_token(&val, (unsigned *)0, cfile); if (ip) { @@ -577,7 +577,7 @@ void parse_client_statement (cfile, ip, config) parse_warn (cfile, "expecting a policy type."); skip_to_semi (cfile); return; - } + } break; case OPTION: @@ -705,7 +705,7 @@ void parse_client_statement (cfile, ip, config) config -> omapi_port = tmp; parse_semi (cfile); return; - + case DO_FORWARD_UPDATE: skip_token(&val, (unsigned *)0, cfile); token = next_token (&val, (unsigned *)0, cfile); @@ -799,7 +799,7 @@ void parse_client_statement (cfile, ip, config) strcpy (name, val); parse_interface_declaration (cfile, config, name); return; - + case LEASE: skip_token(&val, (unsigned *)0, cfile); parse_client_lease_statement (cfile, 1); @@ -1170,7 +1170,7 @@ void parse_client_lease_statement (cfile, is_static) client -> leases = lease; return; } - + /* The last lease in the lease file on a particular interface is the active lease for that interface. Of course, we don't know what the last lease in the file is until we've parsed the whole @@ -2270,7 +2270,7 @@ void parse_reject_statement (cfile, config) "for reject statement"); skip_to_semi(cfile); return; - } + } list = dmalloc(sizeof(struct iaddrmatchlist), MDL); if (!list) @@ -2287,7 +2287,7 @@ void parse_reject_statement (cfile, config) parse_warn (cfile, "expecting semicolon."); skip_to_semi (cfile); } -} +} /* allow-deny-keyword :== BOOTP | BOOTING |