mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 11:40:08 +01:00
libnm/tests: correct vlan id type in vlan device mock
This commit is contained in:
parent
402ba09269
commit
24afcb502e
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ class VlanDevice(Device):
|
|||
props = {}
|
||||
props[PV_HW_ADDRESS] = self.mac
|
||||
props[PV_CARRIER] = self.carrier
|
||||
props[PV_VLAN_ID] = self.vlan_id
|
||||
props[PV_VLAN_ID] = dbus.UInt32(self.vlan_id)
|
||||
return props
|
||||
|
||||
@dbus.service.signal(IFACE_VLAN, signature='a{sv}')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue