Skip to content

Commit

Permalink
[#3492] FIxed missed comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarkwalder committed Aug 7, 2024
1 parent ac266d9 commit 4815875
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/dhcp/libdhcp++.cc
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ LibDHCP::unpackOptions6(const OptionBuffer& buf, const string& option_space,
} catch (const std::exception& ex) {
isc_throw(OptionParseError, "opt_type: " << static_cast<uint16_t>(opt_type)
<< ", opt_len " << static_cast<uint16_t>(opt_len)
<< " error: " << ex.what());
<< ", error: " << ex.what());
}
}

Expand Down Expand Up @@ -682,9 +682,9 @@ LibDHCP::unpackOptions4(const OptionBuffer& buf, const string& option_space,
} catch (const SkipRemainingOptionsError&) {
throw;
} catch (const std::exception& ex) {
isc_throw(OptionParseError, "opt_type: " << (uint16_t)(opt_type)
<< ", opt_len: " << (uint16_t)(opt_len)
<< " error: " << ex.what());
isc_throw(OptionParseError, "opt_type: " << static_cast<uint16_t>(opt_type)
<< ", opt_len: " << static_cast<uint16_t>(opt_len)
<< ", error: " << ex.what());
}
}

Expand Down

0 comments on commit 4815875

Please sign in to comment.