Don't reset packet length on transmission, in case of retransmission.

This commit is contained in:
Simon Kelley committed 2016-07-22 20:59:16 +01:00
1 parent fa78573778
commit 6b1c464d6d
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2127,7 +2127,7 @@ void relay_upstream6(struct dhcp_relay *relay, ssize_t sz,
my_syslog(MS_DHCP | LOG_ERR, _("Cannot multicast to DHCPv6 server without correct interface"));
}
send_from(daemon->dhcp6fd, 0, daemon->outpacket.iov_base, save_counter(0), &to, &from, 0);
send_from(daemon->dhcp6fd, 0, daemon->outpacket.iov_base, save_counter(-1), &to, &from, 0);
if (option_bool(OPT_LOG_OPTS))
{