2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#3084] Remove unneeded response reset

src/bin/dhcp4/dhcp4_srv.cc
This commit is contained in:
Thomas Markwalder
2023-11-13 09:58:48 -05:00
parent 1a7e140015
commit e6bc2227a2

View File

@@ -1502,7 +1502,6 @@ Dhcpv4Srv::processDhcp4Query(Pkt4Ptr& query, Pkt4Ptr& rsp,
static_cast<int64_t>(1));
rsp.reset();
return;
}
}
@@ -1540,8 +1539,6 @@ Dhcpv4Srv::processDhcp4Query(Pkt4Ptr& query, Pkt4Ptr& rsp,
serverDecline(callout_handle, query, lease, lease_exists);
}
// Discard the response and return.
rsp.reset();
return;
}
}