cwFlowProc.cpp : Updated calls to network_create() to take a null preset_label.

This commit is contained in:
kevin 2024-09-20 18:15:39 -04:00
parent 95f790c670
commit db75ddb3d0

View File

@ -156,7 +156,7 @@ namespace cw
goto errLabel; goto errLabel;
} }
if((rc = network_create(proc->ctx,&networkCfg,1,proc->varL,1,p->net)) != kOkRC ) if((rc = network_create(proc->ctx,&networkCfg,1,proc->varL,1,nullptr,p->net)) != kOkRC )
{ {
rc = cwLogError(rc,"Creation failed on the subnet internal network."); rc = cwLogError(rc,"Creation failed on the subnet internal network.");
goto errLabel; goto errLabel;
@ -326,7 +326,7 @@ namespace cw
// create the network object - which will hold 'count' subnets - each a duplicate of the // create the network object - which will hold 'count' subnets - each a duplicate of the
// network described by 'networkCfg'. // network described by 'networkCfg'.
if((rc = network_create(proc->ctx,networkCfgA,networkCfgN,proxyVarL,inst->count,internal_net)) != kOkRC ) if((rc = network_create(proc->ctx,networkCfgA,networkCfgN,proxyVarL,inst->count,nullptr,internal_net)) != kOkRC )
{ {
rc = cwLogError(rc,"Creation failed on the internal network."); rc = cwLogError(rc,"Creation failed on the internal network.");
goto errLabel; goto errLabel;