Implement ipc_netsockdelete() syscall and automatic dangling socket cleanup
This commit is contained in:
@ -12,8 +12,10 @@ void main(void) {
|
||||
|
||||
if (string_strcmp(cmd, "block") == 0) {
|
||||
diagdummy_block();
|
||||
} else if (string_strcmp(cmd, "tcp-test") == 0) {
|
||||
diagdummy_tcptest();
|
||||
} else if (string_strcmp(cmd, "tcp-test-server") == 0) {
|
||||
diagdummy_tcptestserver();
|
||||
} else if (string_strcmp(cmd, "tcp-test-client") == 0) {
|
||||
diagdummy_tcptestclient();
|
||||
} else {
|
||||
uprintf("diagdummy: unknown cmd %s\n", cmd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user