esp32_nat_router
esp32_nat_router copied to clipboard
web ui reboot button doesnt cause restart due to wrong keyword in http_server.c
Reboot button in web UI doesn't cause router reset due to http_server.c expecting 'Restart' instead of 'Reboot'
pages.h: 147 '<td><input
type='submit' name='reset' value='Reboot' class='red-button'/></td>\'
sets 'reset' = 'Reboot'
http_server.c: 68 'if (strcmp(buf, "reset=Restart") == 0) {' should be 'if (strcmp(buf, "reset=Reboot") == 0) {'
Fix: set http_server.c: 68 to 'if (strcmp(buf, "reset=Reboot") == 0) {'
in case you still care: addressed in my pull request #111