Skip to content

Commit

Permalink
httpd: add missing closing bracket when IPv6 is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
RMerl committed Apr 1, 2024
1 parent 9e6ed57 commit 0ca6192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/src/router/httpd/data_arrays.c
Expand Up @@ -130,7 +130,7 @@ ej_ipv6_pinhole_array(int eid, webs_t wp, int argc, char_t **argv)
ret = websWrite(wp, "var pinholesarray = [");

if (!(ipv6_enabled() && is_routing_enabled())) {
ret += websWrite(wp, "[];\n");
ret += websWrite(wp, "[]];\n");
return ret;
}

Expand Down

0 comments on commit 0ca6192

Please sign in to comment.