Commit 0f262d8a authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't allow downlinks (AreaFix add) of our "Unknown echoes" sub-board

It was recently pointed out to me that a downlink could link to the '*' echo via Area Manager (AreaFix) request. This was not intentional.
parent 15db552d
Pipeline #2324 passed with stage
in 9 minutes and 3 seconds
......@@ -1568,6 +1568,10 @@ void alter_areas(str_list_t add_area, str_list_t del_area, fidoaddr_t addr, cons
SAFECOPY(echotag,p); /* Areatag Field */
truncstr(echotag," \t\r\n");
if(echotag[0] == '*') {
fprintf(afileout, "%s\n", fields); /* Don't allow down-links to our "Unknown area" */
if((tp=strchr(p,';'))!=NULL) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment