mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-14 21:20:28 +01:00
QoS: Fix SourceMask & DestMask parameters value
This commit is contained in:
parent
3388d57d9a
commit
04e4c1aa27
1 changed files with 2 additions and 2 deletions
|
|
@ -574,7 +574,7 @@ static int get_QoSClassification_DestMask(char *refparam, struct dmctx *ctx, voi
|
|||
if (DM_STRLEN(dest_ip))
|
||||
mask = strchr(dest_ip, '/');
|
||||
|
||||
*value = mask ? dest_ip : "";
|
||||
*value = mask ? mask : "";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -624,7 +624,7 @@ static int get_QoSClassification_SourceMask(char *refparam, struct dmctx *ctx, v
|
|||
if (DM_STRLEN(src_ip))
|
||||
mask = strchr(src_ip, '/');
|
||||
|
||||
*value = mask ? src_ip : "";
|
||||
*value = mask ? mask : "";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue