summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <[email protected]>2024-04-22 03:45:51 +0000
committerroot <[email protected]>2024-04-22 03:45:51 +0000
commit830dd2a4a3c799bcb99c3469ae2c9dbe92c62c4b (patch)
treefecca329a14622191764c993db77fac9b11bd385
parent4b4a22cd4eb4265d852dceca11589a59873b0f07 (diff)
remove parse dscp configv3.1.31(24.02)
-rw-r--r--shaping/src/shaper_maat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shaping/src/shaper_maat.cpp b/shaping/src/shaper_maat.cpp
index 481407c..35454d6 100644
--- a/shaping/src/shaper_maat.cpp
+++ b/shaping/src/shaper_maat.cpp
@@ -129,7 +129,7 @@ void shaper_rule_ex_new(const char *table_name, int table_id, const char *key, c
s_rule->fair_factor = tmp_obj->valueint;
//dscp_marking
- tmp_obj = cJSON_GetObjectItem(json, "dscp_marking");
+ /*tmp_obj = cJSON_GetObjectItem(json, "dscp_marking");
if (!tmp_obj) {
LOG_ERROR("%s: json parse dscp_marking failed for table line %s", LOG_TAG_MAAT, table_line);
goto END;
@@ -144,7 +144,7 @@ void shaper_rule_ex_new(const char *table_name, int table_id, const char *key, c
LOG_ERROR("%s: json parse dscp_value wrong for table line %s", LOG_TAG_MAAT, table_line);
goto END;
}
- }
+ }*/
//profile_chain
tmp_obj = cJSON_GetObjectItem(json, "profile_chain");