mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 16:26:59 +00:00
getdata: fix typo
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
abf5d04736
commit
05f8208518
2 changed files with 4 additions and 4 deletions
|
|
@ -129,7 +129,7 @@ enum isc_conf_parser {
|
|||
ITS_A_RANGE_FIRST_IP,
|
||||
ITS_A_RANGE_SECOND_IP,
|
||||
ITS_A_SHAREDNET,
|
||||
ITS_AN_INCLUCE,
|
||||
ITS_AN_INCLUDE,
|
||||
ITS_A_SUBNET,
|
||||
ITS_A_NETMASK
|
||||
};
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ static int is_interesting_config_clause(char const *restrict s)
|
|||
return ITS_A_NETMASK;
|
||||
}
|
||||
if (strstr(s, "include"))
|
||||
return ITS_AN_INCLUCE;
|
||||
return ITS_AN_INCLUDE;
|
||||
return ITS_NOTHING_INTERESTING;
|
||||
}
|
||||
|
||||
|
|
@ -235,7 +235,7 @@ void parse_config(int is_include, const char *restrict config_file,
|
|||
break;
|
||||
if (comment == 0
|
||||
&& argument != ITS_A_RANGE_FIRST_IP
|
||||
&& argument != ITS_A_RANGE_SECOND_IP && argument != ITS_AN_INCLUCE) {
|
||||
&& argument != ITS_A_RANGE_SECOND_IP && argument != ITS_AN_INCLUDE) {
|
||||
newclause = 1;
|
||||
i = 0;
|
||||
} else if (argument == ITS_A_RANGE_FIRST_IP && one_ip_range == 1) {
|
||||
|
|
@ -416,7 +416,7 @@ void parse_config(int is_include, const char *restrict config_file,
|
|||
argument = ITS_NOTHING_INTERESTING;
|
||||
braces_shared = braces;
|
||||
break;
|
||||
case ITS_AN_INCLUCE:
|
||||
case ITS_AN_INCLUDE:
|
||||
/* printf ("include file: %s\n", word); */
|
||||
argument = ITS_NOTHING_INTERESTING;
|
||||
parse_config(0, word, shared_p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue