diff options
author | 2017-09-04 11:32:43 +0000 | |
---|---|---|
committer | 2017-09-04 11:32:43 +0000 | |
commit | 028de60c94545e3b7903ccf08448725ffa30e662 (patch) | |
tree | 764bff8fb08b5c5639fd31348eeb67abd345e8d2 /vicn/resource | |
parent | 880f9dafaeb02d57c3dc51dccb4f7e92ad5ec97c (diff) | |
parent | a49f54003117af13fff95790e7eafcfaa983cc9b (diff) |
Merge "Fixed bug in EmulatedLteChannel for unmanaged devices" into vicn/master
Diffstat (limited to 'vicn/resource')
-rw-r--r-- | vicn/resource/ns3/emulated_lte_channel.py | 2 |
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) |