diff options
Diffstat (limited to 'VNFs/DPPD-PROX/prox_args.c')
-rw-r--r-- | VNFs/DPPD-PROX/prox_args.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/VNFs/DPPD-PROX/prox_args.c b/VNFs/DPPD-PROX/prox_args.c index fd8ea524..bbe27382 100644 --- a/VNFs/DPPD-PROX/prox_args.c +++ b/VNFs/DPPD-PROX/prox_args.c @@ -1252,8 +1252,10 @@ static int get_core_cfg(unsigned sindex, char *str, void *data) } if (strcmp(sub_mode_str, "l3") == 0) { prox_cfg.flags |= DSF_CTRL_PLANE_ENABLED; - targ->task_init->flag_features |= TASK_FEATURE_L3; - strcpy(targ->task_init->sub_mode_str, "l3"); + targ->flags |= TASK_ARG_L3; + strcpy(targ->sub_mode_str, "l3"); + } else { + strcpy(targ->sub_mode_str, targ->task_init->sub_mode_str); } return 0; } |