From d67d465ec8634c44735c3ef7df5cd6f43f33cee7 Mon Sep 17 00:00:00 2001 From: Peter Saveliev Date: Fri, 9 Feb 2024 10:40:18 +0100 Subject: [PATCH] remote: fix IPRoute groups for RemoteIPRoute So the `RTNL_API.dump()` will work correctly --- pyroute2/remote/iproute.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyroute2/remote/iproute.py b/pyroute2/remote/iproute.py index 9ca11afdf..d9441fa0a 100644 --- a/pyroute2/remote/iproute.py +++ b/pyroute2/remote/iproute.py @@ -130,6 +130,7 @@ def __init__(self, *argv, **kwarg): raise self.marshal = MarshalRtnl() self.target = target + self.groups = 67372509 def clone(self): return type(self)(*self._argv, **self._kwarg)