[#4249] Addressed review comments

modified:   src/lib/dhcpsrv/memfile_lease_mgr.cc
   -  minor nits
This commit is contained in:
Thomas Markwalder
2025-12-08 18:26:24 -05:00
parent ca2561dd13
commit 54dbf45e8d

View File

@@ -3771,7 +3771,7 @@ Memfile_LeaseMgr::writeLeases4Internal(const std::string& filename) {
// Rename the previous dump file (if one) to back up.
::rename(filename.c_str(), bakname.c_str());
// Rename tmp file to dump file.
// Rename temp file to dump file.
::rename(tmpname.c_str(), filename.c_str());
}
}
@@ -3827,7 +3827,7 @@ Memfile_LeaseMgr::writeLeases6Internal(const std::string& filename) {
// Rename the previous dump file (if one) to back up.
::rename(filename.c_str(), bakname.c_str());
// Rename tmp file to dump file.
// Rename temp file to dump file.
::rename(tmpname.c_str(), filename.c_str());
}
}