|
@@ -191,18 +191,14 @@ int pkt4_send(CalloutHandle& handle)
|
|
|
|
|
|
if (it != option122_map.end()) {
|
|
|
LOG_INFO(runscript_logger, FLOWDAT_DEBUG_STRING).arg("pkt4_send -> cablemodem " + mac + " found for MTA Activation on " + option122_map[mac]);
|
|
|
- OptionPtr option1(new Option(Option::V4, 122));
|
|
|
|
|
|
Option4AddrLstPtr opt_server(new Option4AddrLst(1));
|
|
|
- opt_server->setAddress(isc::asiolink::IOAddress("255.255.255.255"));//option122_map[mac]));
|
|
|
-
|
|
|
- Option4AddrLstPtr opt_prov_srv(new Option4AddrLst(3));
|
|
|
- opt_prov_srv->setAddress(isc::asiolink::IOAddress(option122_map[mac]));
|
|
|
+ opt_server->setAddress(isc::asiolink::IOAddress("255.255.255.255"));
|
|
|
|
|
|
OptionStringPtr opt_basic1(new OptionString(Option::V4, 6, "BASIC.1"));
|
|
|
|
|
|
+ OptionPtr option1(new Option(Option::V4, 122));
|
|
|
option1->addOption(opt_server);
|
|
|
- option1->addOption(opt_prov_srv);
|
|
|
option1->addOption(opt_basic1);
|
|
|
|
|
|
response->addOption(option1);
|