Skip to content
Snippets Groups Projects
Commit c0b44c04 authored by Erik Karlsson's avatar Erik Karlsson
Browse files

config: do not erroneously support registrar on all bands

Fix inverted logic.
parent 35479873
No related branches found
No related tags found
1 merge request!174config: do not erroneously support registrar on all bands
Pipeline #204141 passed
......@@ -313,7 +313,7 @@ static int i1905_config_get_base(struct i1905_config *cfg, struct uci_section *s
const char *val = tb[I1905_REGISTRAR]->v.string;
if (!strstr(val, "*")) {
if (strstr(val, "*")) {
cfg->registrar = I1905_CONFIG_REGISTRAR_ALL;
} else {
if (strstr(val, "5"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment