converted usages of per to loss
This commit is contained in:
parent
b28ef76d65
commit
76305f7257
16 changed files with 61 additions and 60 deletions
|
@ -569,7 +569,7 @@ class CoreXmlWriter:
|
|||
options = etree.Element("options")
|
||||
add_attribute(options, "delay", link_data.delay)
|
||||
add_attribute(options, "bandwidth", link_data.bandwidth)
|
||||
add_attribute(options, "per", link_data.per)
|
||||
add_attribute(options, "per", link_data.loss)
|
||||
add_attribute(options, "dup", link_data.dup)
|
||||
add_attribute(options, "jitter", link_data.jitter)
|
||||
add_attribute(options, "mer", link_data.mer)
|
||||
|
@ -957,7 +957,7 @@ class CoreXmlReader:
|
|||
link_options.mburst = get_int(options_element, "mburst")
|
||||
link_options.jitter = get_int(options_element, "jitter")
|
||||
link_options.key = get_int(options_element, "key")
|
||||
link_options.per = get_float(options_element, "per")
|
||||
link_options.loss = get_float(options_element, "per")
|
||||
link_options.unidirectional = get_int(options_element, "unidirectional")
|
||||
link_options.session = options_element.get("session")
|
||||
link_options.emulation_id = get_int(options_element, "emulation_id")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue