We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db8902 commit 549afbaCopy full SHA for 549afba
src/lib/dhcp/pkt4.cc
@@ -481,13 +481,7 @@ void
481
Pkt4::setHWAddrMember(const uint8_t htype, const uint8_t hlen,
482
const std::vector<uint8_t>& mac_addr,
483
HWAddrPtr& hw_addr) {
484
- /// @todo Rewrite this once support for client-identifier option
485
- /// is implemented (ticket 1228?)
486
- if (hlen > MAX_CHADDR_LEN) {
487
- isc_throw(OutOfRange, "Hardware address (len=" << static_cast<uint32_t>(hlen)
488
- << ") too long. Max " << MAX_CHADDR_LEN << " supported.");
489
-
490
- } else if (mac_addr.empty() && (hlen > 0) ) {
+ if (mac_addr.empty() && (hlen > 0) ) {
491
isc_throw(OutOfRange, "Invalid HW Address specified");
492
}
493
0 commit comments