diff options
Diffstat (limited to 'client/clparse.c')
-rw-r--r-- | client/clparse.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/client/clparse.c b/client/clparse.c index 2f0909b8..2ba0761a 100644 --- a/client/clparse.c +++ b/client/clparse.c @@ -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 |