Merge pull request #30896 from yuwata/network-route-conf-parser
network: minor cleanups for conf parsers
This commit is contained in:
@@ -1064,7 +1064,7 @@ int config_parse_tristate(
|
||||
|
||||
if (isempty(rvalue)) {
|
||||
*t = -1;
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
r = parse_tristate(rvalue, t);
|
||||
@@ -1074,7 +1074,7 @@ int config_parse_tristate(
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int config_parse_string(
|
||||
|
||||
Reference in New Issue
Block a user