updated linkconfig to use string commands, fixed issues for wlan configuration
This commit is contained in:
parent
02ef91242e
commit
5b3308a231
4 changed files with 27 additions and 28 deletions
|
@ -426,7 +426,7 @@ class BasicRangeModel(WirelessModel):
|
|||
self.delay = int(config["delay"])
|
||||
if self.delay == 0:
|
||||
self.delay = None
|
||||
self.loss = int(config["error"])
|
||||
self.loss = int(float(config["error"]))
|
||||
if self.loss == 0:
|
||||
self.loss = None
|
||||
self.jitter = int(config["jitter"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue