mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-14 13:10:28 +01:00
bbfdm: Fix instance wildcard processing
This commit is contained in:
parent
19c8a77aee
commit
69b702e57c
2 changed files with 3 additions and 2 deletions
BIN
bbfdmd/ubus/bbfdmd
Executable file
BIN
bbfdmd/ubus/bbfdmd
Executable file
Binary file not shown.
|
|
@ -73,8 +73,9 @@ static bool get_base_path(const char *query_path, char *base_path)
|
|||
}
|
||||
break;
|
||||
case '*':
|
||||
if (query_path[i - 1] != '.' &&
|
||||
query_path[i + 1] != '.')
|
||||
if (query_path[i - 1] != '.' ||
|
||||
query_path[i + 1] != '.' ||
|
||||
query_path[i + 2] == 0)
|
||||
return false;
|
||||
found = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue