|
@@ -82,7 +82,7 @@ void ControlledDhcpv4Srv::sessionReader(void) {
|
|
}
|
|
}
|
|
|
|
|
|
void ControlledDhcpv4Srv::establishSession() {
|
|
void ControlledDhcpv4Srv::establishSession() {
|
|
-
|
|
|
|
|
|
+
|
|
string specfile;
|
|
string specfile;
|
|
if (getenv("B10_FROM_BUILD")) {
|
|
if (getenv("B10_FROM_BUILD")) {
|
|
specfile = string(getenv("B10_FROM_BUILD")) +
|
|
specfile = string(getenv("B10_FROM_BUILD")) +
|
|
@@ -92,9 +92,9 @@ void ControlledDhcpv4Srv::establishSession() {
|
|
}
|
|
}
|
|
|
|
|
|
/// @todo: Check if session is not established already. Throw, if it is.
|
|
/// @todo: Check if session is not established already. Throw, if it is.
|
|
-
|
|
|
|
|
|
+
|
|
cout << "b10-dhcp4: my specfile is " << specfile << endl;
|
|
cout << "b10-dhcp4: my specfile is " << specfile << endl;
|
|
-
|
|
|
|
|
|
+
|
|
cc_session_ = new Session(io_service_.get_io_service());
|
|
cc_session_ = new Session(io_service_.get_io_service());
|
|
|
|
|
|
config_session_ = new ModuleCCSession(specfile, *cc_session_,
|
|
config_session_ = new ModuleCCSession(specfile, *cc_session_,
|