From aa27b293b4218f52e0feee8c537a47e56fc3bbcd Mon Sep 17 00:00:00 2001 From: Lukas Stockner Date: Fri, 3 May 2024 11:07:47 +0200 Subject: [PATCH] connector.cn_proc: support kwargs for bind --- pyroute2/netlink/connector/cn_proc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyroute2/netlink/connector/cn_proc.py b/pyroute2/netlink/connector/cn_proc.py index c4128566a..7e56e83d8 100644 --- a/pyroute2/netlink/connector/cn_proc.py +++ b/pyroute2/netlink/connector/cn_proc.py @@ -147,8 +147,8 @@ def __init__(self, fileno=None): super().__init__(fileno=fileno) self.marshal = ProcEventMarshal() - def bind(self): - return super().bind(groups=CN_IDX_PROC) + def bind(self, **kwarg): + return super().bind(groups=CN_IDX_PROC, **kwarg) def control(self, listen): msg = proc_event_control()