From 750c41f163ef2887bbe26051aee21aaae6c12a9c Mon Sep 17 00:00:00 2001 From: fpfeng Date: Mon, 24 Jul 2023 11:54:55 +0800 Subject: [PATCH] fix: TPLD_ID filter setting of chimera --- .../hli_v2/ports/port_l23/chimera/filter_definition/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/general.py b/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/general.py index becfc58c..9a44d44f 100644 --- a/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/general.py +++ b/xoa_driver/internals/hli_v2/ports/port_l23/chimera/filter_definition/general.py @@ -204,7 +204,7 @@ def __init__(self, conn: "itf.IConnection", module_id: int, port_id: int, flow_i class FTpld: """Filter for Xena TPLD field.""" def __init__(self, conn: "itf.IConnection", module_id: int, port_id: int, flow_index: int, filter_type: FilterType) -> None: - self.settings = prevent_set(PEF_TPLDSETTINGS(conn, module_id, port_id, flow_index, filter_type)) + self.settings = prevent_set(PEF_TPLDSETTINGS(conn, module_id, port_id, flow_index, filter_type), filter_type) """Filter action on Xena TPLD field. Representation of PEF_TPLDSETTINGS """