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

[1540] Removed declaration and initialization of unused variable

... which was left over from a previous change.
This commit is contained in:
Stephen Morris 2012-04-20 17:51:13 +01:00
parent 1c1127916e
commit 9f613bb9c9

View File

@ -183,9 +183,6 @@ void Dhcpv6Srv::setServerID() {
continue;
}
uint8_t zeros[IfaceMgr::MAX_MAC_LEN];
memset(zeros, 0, IfaceMgr::MAX_MAC_LEN);
// some interfaces (like lo on Linux) report 6-bytes long
// MAC adress 00:00:00:00:00:00. Let's not use such weird interfaces
// to generate DUID.