diff options
Diffstat (limited to 'src/akcom-udpecho.c')
| -rw-r--r-- | src/akcom-udpecho.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/akcom-udpecho.c b/src/akcom-udpecho.c index 1060482..d8bf822 100644 --- a/src/akcom-udpecho.c +++ b/src/akcom-udpecho.c | |||
| @@ -127,6 +127,7 @@ struct udp_echo_plus | |||
| 127 | uint32_t recv_time; | 127 | uint32_t recv_time; |
| 128 | uint32_t reply_time; | 128 | uint32_t reply_time; |
| 129 | uint32_t failures; | 129 | uint32_t failures; |
| 130 | uint32_t iteration; | ||
| 130 | }; | 131 | }; |
| 131 | 132 | ||
| 132 | 133 | ||
| @@ -446,6 +447,10 @@ int main(int argc, char * argv[]) | |||
| 446 | epoch = 0; | 447 | epoch = 0; |
| 447 | 448 | ||
| 448 | 449 | ||
| 450 | // set packet information | ||
| 451 | sndbuff.echoplus->iteration = htonl(1); | ||
| 452 | |||
| 453 | |||
| 449 | // master loop | 454 | // master loop |
| 450 | while (!(should_stop)) | 455 | while (!(should_stop)) |
| 451 | { | 456 | { |
