mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Fixing missing parts to make the tests pass
boot_to_html outputs 1 and 0 not true and false, making the sim match the real implementation. lldp.json has a hanging , in the array; so overwriting it
This commit is contained in:
1 parent
72c2625121
commit
2dfe531fe0
4 files changed
+7
-5
No files matched your search
+1
-1
@@ -459,7 +459,7 @@ void send_lldp(int s)
|
||||
char *header = "HTTP/1.1 200 OK\r\n"
|
||||
"Content-Type: application/json; charset=UTF-8\r\n\r\n";
|
||||
|
||||
char *body = "{\"on\": true, \"port_status\":[true,true,false,true,true,true,true,false,false]}";
|
||||
char *body = "{\"on\": 1,\"port_status\":[1,1,0,1,1,1,1,0,0]}";
|
||||
|
||||
write(s, header, strlen(header));
|
||||
write(s, body, strlen(body));
|
||||
|
||||
Reference in new issue
Block a user