2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 00:15:17 +00:00

[5073a] Main code finished

This commit is contained in:
Francis Dupont
2017-09-20 22:48:58 +02:00
parent 6a4d93f046
commit 743182ec97
9 changed files with 653 additions and 60 deletions

View File

@@ -2858,9 +2858,9 @@ Dhcpv4Srv::deferredUnpack(Pkt4Ptr& query)
if (!def) {
def = LibDHCP::getRuntimeOptionDef(DHCP4_OPTION_SPACE, code);
}
// Option 43 has a last resort definition
if ((code == DHO_VENDOR_ENCAPSULATED_OPTIONS) && !def) {
def = LibDHCP::last_resort_option43_def;
// Finish by last resort definition
if (!def) {
def = LibDHCP::getLastResortOptionDef(DHCP4_OPTION_SPACE, code);
}
// If not defined go to the next option
if (!def) {