#236 fix for missing loss/per values in xml and other cases
This commit is contained in:
parent
4a5398aa21
commit
3c8b4ab0a5
2 changed files with 8 additions and 3 deletions
|
@ -570,7 +570,8 @@ class PyCoreNet(PyCoreObj):
|
|||
delay=netif.getparam("delay"),
|
||||
bandwidth=netif.getparam("bw"),
|
||||
dup=netif.getparam("duplicate"),
|
||||
jitter=netif.getparam("jitter")
|
||||
jitter=netif.getparam("jitter"),
|
||||
per=netif.getparam("loss")
|
||||
)
|
||||
|
||||
all_links.append(link_data)
|
||||
|
@ -587,7 +588,8 @@ class PyCoreNet(PyCoreObj):
|
|||
delay=netif.getparam("delay"),
|
||||
bandwidth=netif.getparam("bw"),
|
||||
dup=netif.getparam("duplicate"),
|
||||
jitter=netif.getparam("jitter")
|
||||
jitter=netif.getparam("jitter"),
|
||||
per=netif.getparam("loss")
|
||||
)
|
||||
netif.swapparams('_params_up')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue