diff options
author | dimitri staessens <[email protected]> | 2016-10-06 14:27:53 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-06 16:01:14 +0200 |
commit | 78d143e1487ef6212bda84702307c236021afcc7 (patch) | |
tree | 7f977513129b4a43eac102af4abe6457cb2632c9 /src/tools/oping/oping_client.c | |
parent | 170a60e4770a8fd12c50adfd6d3d34cd533ad570 (diff) | |
download | ouroboros-78d143e1487ef6212bda84702307c236021afcc7.tar.gz ouroboros-78d143e1487ef6212bda84702307c236021afcc7.zip |
ipcpd: Filter traffic on shim-eth-llc
Now correctly handles and drops non-ouroboros traffic.
Diffstat (limited to 'src/tools/oping/oping_client.c')
-rw-r--r-- | src/tools/oping/oping_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/oping/oping_client.c b/src/tools/oping/oping_client.c index 47b40118..8b4e0fc2 100644 --- a/src/tools/oping/oping_client.c +++ b/src/tools/oping/oping_client.c @@ -138,6 +138,7 @@ void * writer(void * o) while (client.sent < client.count) { nanosleep(&wait, NULL); + msg->type = htonl(ECHO_REQUEST); msg->id = htonl(client.sent); if (flow_write(*fdp, buf, client.size) == -1) { printf("Failed to send SDU.\n"); |