mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
auto-t: hwsim.py: handle Prefix/Enabled in __str__
This commit is contained in:
parent
f328d62f55
commit
b252b65ee0
@ -171,7 +171,9 @@ class Rule(HwsimDBusAbstract):
|
|||||||
prefix + '\tFrequency:\t' + str(self.frequency) + '\n' + \
|
prefix + '\tFrequency:\t' + str(self.frequency) + '\n' + \
|
||||||
prefix + '\tApply rssi:\t' + str(self.signal) + '\n' + \
|
prefix + '\tApply rssi:\t' + str(self.signal) + '\n' + \
|
||||||
prefix + '\tApply drop:\t' + str(self.drop) + '\n' + \
|
prefix + '\tApply drop:\t' + str(self.drop) + '\n' + \
|
||||||
prefix + '\tPrefix:\t' + str([hex(b) for b in self.prefix]) + '\n'
|
prefix + '\tPrefix:\t' + str([hex(b) for b in self.prefix]) + '\n' + \
|
||||||
|
prefix + '\tDelay:\t' + str(self.delay) + '\n' + \
|
||||||
|
prefix + '\tEnabled:\t' + str(self.enabled) + '\n'
|
||||||
|
|
||||||
class RuleSet(collections.Mapping):
|
class RuleSet(collections.Mapping):
|
||||||
def __init__(self, hwsim, objects):
|
def __init__(self, hwsim, objects):
|
||||||
|
Loading…
Reference in New Issue
Block a user