From 8acb679084e3ba71e9689dcb1126f920e2d97f7d Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Fri, 27 Jan 2017 18:16:52 +0100 Subject: [PATCH] [5122] Added a comment explaining (where) client-class code was moved --- src/bin/dhcp4/json_config_parser.cc | 2 ++ src/bin/dhcp6/json_config_parser.cc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/bin/dhcp4/json_config_parser.cc b/src/bin/dhcp4/json_config_parser.cc index a830f608b5..fe8e17da7f 100644 --- a/src/bin/dhcp4/json_config_parser.cc +++ b/src/bin/dhcp4/json_config_parser.cc @@ -259,6 +259,8 @@ protected: subnet4->get4o6().setInterfaceId(opt); subnet4->get4o6().enabled(true); } + + // client-class processing is now generic so in DhcpConfigParser } }; diff --git a/src/bin/dhcp6/json_config_parser.cc b/src/bin/dhcp6/json_config_parser.cc index ee5eaa4b20..8c4a5a3442 100644 --- a/src/bin/dhcp6/json_config_parser.cc +++ b/src/bin/dhcp6/json_config_parser.cc @@ -432,6 +432,8 @@ protected: // Enable or disable Rapid Commit option support for the subnet. subnet6->setRapidCommit(rapid_commit); + // client-class processing is now generic so in DhcpConfigParser + subnet_.reset(subnet6); } -- 2.47.2