From 30efb2d3ac12bf58365a3ae2c4f91e0f8e4e49bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=2E=20Bal=C3=A1zs?= Date: Fri, 8 Nov 2024 09:24:18 +0100 Subject: [PATCH] Adding kwarg parameters to ipmock --- pyroute2/iproute/ipmock.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyroute2/iproute/ipmock.py b/pyroute2/iproute/ipmock.py index 507f1ced5..6fbb44ca6 100644 --- a/pyroute2/iproute/ipmock.py +++ b/pyroute2/iproute/ipmock.py @@ -679,13 +679,13 @@ def route(self, command, **spec): return self._get_dump([route], rtmsg) - def get_addr(self): + def get_addr(self, **kwarg): return self._get_dump(self.preset['addr'], ifaddrmsg) - def get_links(self): + def get_links(self, **kwarg): return self._get_dump(self.preset['links'], ifinfmsg) - def get_routes(self): + def get_routes(self, **kwarg): return self._get_dump(self.preset['routes'], rtmsg)