2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[3919] Added sname_ and file_ initialization

This commit is contained in:
Francis Dupont
2015-06-24 13:25:27 +02:00
parent 09638ba65b
commit 220da04c7c

View File

@@ -81,6 +81,9 @@ Pkt4::Pkt4(const uint8_t* data, size_t len)
data_.resize(len);
memcpy(&data_[0], data, len);
memset(sname_, 0, MAX_SNAME_LEN);
memset(file_, 0, MAX_FILE_LEN);
}
size_t