aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hwsim/netlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hwsim/netlink.py')
-rw-r--r--tests/hwsim/netlink.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/hwsim/netlink.py b/tests/hwsim/netlink.py
index 835c709..82b6fa2 100644
--- a/tests/hwsim/netlink.py
+++ b/tests/hwsim/netlink.py
@@ -69,6 +69,10 @@ class U8Attr(Attr):
def __init__(self, attr_type, val):
Attr.__init__(self, attr_type, "B", val)
+class FlagAttr(Attr):
+ def __init__(self, attr_type):
+ Attr.__init__(self, attr_type, "")
+
class Nested(Attr):
def __init__(self, attr_type, attrs):
self.attrs = attrs