mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 12:44:25 +01:00
libtins compiles and runs under windows. Packets apparently can't be sent yet.
This commit is contained in:
@@ -207,7 +207,8 @@ uint32_t NamedDNSRRImpl::size() const {
|
||||
}
|
||||
|
||||
uint32_t NamedDNSRRImpl::do_write(uint8_t *buffer) const {
|
||||
std::copy(name.begin(), name.end() + 1, buffer);
|
||||
buffer = std::copy(name.begin(), name.end(), buffer);
|
||||
*buffer = 0;
|
||||
return name.size() + 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user