aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/akcom-udpecho.c
diff options
context:
space:
mode:
authorDavid M. Syzdek <david.syzdek@acsalaska.com>2022-07-21 15:55:33 -0800
committerDavid M. Syzdek <david.syzdek@acsalaska.com>2022-07-21 15:55:33 -0800
commit59a64e0150fd5b2aad4feea760ddfdb0144c3e01 (patch)
tree56676866950d871aaa7a1c9d1426b16344d8d423 /src/akcom-udpecho.c
parentb6ed506bd4922361ead76f314e931bf4d6e5e23c (diff)
downloadakcom-udpecho-59a64e0150fd5b2aad4feea760ddfdb0144c3e01.tar.gz
akcom-udpecho-59a64e0150fd5b2aad4feea760ddfdb0144c3e01.tar.bz2
akcom-udpecho-59a64e0150fd5b2aad4feea760ddfdb0144c3e01.tar.xz
akcom-udpecho-59a64e0150fd5b2aad4feea760ddfdb0144c3e01.zip
akcom-udpecho: adding missing udp_echo_plus field
Diffstat (limited to 'src/akcom-udpecho.c')
-rw-r--r--src/akcom-udpecho.c5
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 {