Skip to content
Snippets Groups Projects
Commit 3ff043da authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Log warning-level message when we can't auto-add a sub

... because there's no linked-node configured as the uplink for the parent
message group.
parent fd4ccdbd
Branches
Tags
No related merge requests found
Pipeline #8399 passed
...@@ -6845,6 +6845,9 @@ int main(int argc, char **argv) ...@@ -6845,6 +6845,9 @@ int main(int argc, char **argv)
break; break;
if (hub < cfg.nodecfgs) if (hub < cfg.nodecfgs)
add_sub_to_arealist(scfg.sub[subnum], cfg.nodecfg[hub].addr); add_sub_to_arealist(scfg.sub[subnum], cfg.nodecfg[hub].addr);
else
lprintf(LOG_WARNING, "Cannot auto-add sub (%s): No uplink configured for message group (%s)"
, scfg.sub[subnum]->code, scfg.grp[scfg.sub[subnum]->grp]->sname);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment