diff --git a/conf/route_control.py b/conf/route_control.py index 16336a05f..22997c9b0 100755 --- a/conf/route_control.py +++ b/conf/route_control.py @@ -608,15 +608,17 @@ def _get_gate_idx(self, route_entry: RouteEntry, module_name: str) -> int: return cached_entry.gate_idx return self._module_gate_count_cache[module_name] - def _netlink_event_listener(self, _, netlink_message: dict) -> None: + def _netlink_event_listener(self, target, netlink_message: dict) -> None: """Listens for netlink events and handles them. Args: - _ : target + target: target netlink_message (dict): The netlink message. """ try: + logger.info("target:", target) event = netlink_message.get('event') + logger.info("event: %s is received.", event) except Exception: logger.exception("Error parsing netlink message") return