aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar+fdio@cisco.com>2017-09-04 11:32:43 +0000
committerGerrit Code Review <gerrit@fd.io>2017-09-04 11:32:43 +0000
commit028de60c94545e3b7903ccf08448725ffa30e662 (patch)
tree764bff8fb08b5c5639fd31348eeb67abd345e8d2
parent880f9dafaeb02d57c3dc51dccb4f7e92ad5ec97c (diff)
parenta49f54003117af13fff95790e7eafcfaa983cc9b (diff)
Merge "Fixed bug in EmulatedLteChannel for unmanaged devices" into vicn/master
-rw-r--r--vicn/resource/ns3/emulated_lte_channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vicn/resource/ns3/emulated_lte_channel.py b/vicn/resource/ns3/emulated_lte_channel.py
index 0847a403..dde44c92 100644
--- a/vicn/resource/ns3/emulated_lte_channel.py
+++ b/vicn/resource/ns3/emulated_lte_channel.py
@@ -145,7 +145,7 @@ class EmulatedLteChannel(EmulatedChannel):
sta_list.append(interface.name)
sta_macs.append(interface.mac_address)
- sta_ips.append(str(interface.ip4_address)+'/'+str(prefix_len))
+ sta_ips.append(str(interface.ip4_address)+'/'+str(interface.ip4_address.prefix_len))
else:
identifier = self._sta_ifs[station]._state.uuid._uuid
sta_list.append(identifier)