commit | 6b1c464d6de3d7d2afc9b53afe78cda6d6e3316f | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Fri Jul 22 20:59:16 2016 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Fri Jul 22 20:59:16 2016 +0100 |
tree | 721c737adbc5869889b1ca8088249bea366fe462 | |
parent | fa78573778cb23337f67f5d0c9de723169919047 [diff] [blame] |
Don't reset packet length on transmission, in case of retransmission.
diff --git a/src/radv.c b/src/radv.c index 39c9217..ffc37f2 100644 --- a/src/radv.c +++ b/src/radv.c
@@ -528,7 +528,7 @@ } while (retry_send(sendto(daemon->icmp6fd, daemon->outpacket.iov_base, - save_counter(0), 0, (struct sockaddr *)&addr, + save_counter(-1), 0, (struct sockaddr *)&addr, sizeof(addr)))); }