diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-09 17:45:31 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-09 17:52:16 +0200 |
commit | fd086b87023da5a5ba4e42da2327fa39a6725cd2 (patch) | |
tree | 01a41af8da574eb9b94d49179687246eb83a60a6 /src/tools/oping/oping_server.c | |
parent | 192ccde3ae37e33eb33421a6877ed4b4a025fbdb (diff) | |
download | ouroboros-fd086b87023da5a5ba4e42da2327fa39a6725cd2.tar.gz ouroboros-fd086b87023da5a5ba4e42da2327fa39a6725cd2.zip |
lib: Add a type for struct flow_set
The struct flow_set can now be accessed in applications as flow_set_t.
Fixes some malformed lines and homogenizes output when receiving bad
SDUs in the oping tool.
Diffstat (limited to 'src/tools/oping/oping_server.c')
-rw-r--r-- | src/tools/oping/oping_server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/oping/oping_server.c b/src/tools/oping/oping_server.c index 0ba47174..845f0cbd 100644 --- a/src/tools/oping/oping_server.c +++ b/src/tools/oping/oping_server.c @@ -83,8 +83,7 @@ void * server_thread(void *o) continue; if (ntohl(msg->type) != ECHO_REQUEST) { - printf("Invalid message on fd %d: type %d, len = %d.\n", - fd, ntohl(msg->type), msg_len); + printf("Invalid message on fd %d.", fd); continue; } |