3
0
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:
James Prestwood 2021-08-18 15:09:31 -07:00 committed by Denis Kenzior
parent f328d62f55
commit b252b65ee0

View File

@ -171,7 +171,9 @@ class Rule(HwsimDBusAbstract):
prefix + '\tFrequency:\t' + str(self.frequency) + '\n' + \
prefix + '\tApply rssi:\t' + str(self.signal) + '\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):
def __init__(self, hwsim, objects):