Code Review
/
cicn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e4d3f8c
)
Fixed bug in EmulatedLteChannel for unmanaged devices
04/8104/1
author
Marcel Enguehard
<
[email protected]
>
Fri, 18 Aug 2017 08:41:59 +0000
(10:41 +0200)
committer
Marcel Enguehard
<
[email protected]
>
Fri, 18 Aug 2017 08:41:59 +0000
(10:41 +0200)
Change-Id: I58e975cef6b621f0a89cf4683eaaccb04a9d2e17
Signed-off-by: Marcel Enguehard <
[email protected]
>
vicn/resource/ns3/emulated_lte_channel.py
patch
|
blob
|
history
diff --git
a/vicn/resource/ns3/emulated_lte_channel.py
b/vicn/resource/ns3/emulated_lte_channel.py
index
0847a40
..
dde44c9
100644
(file)
--- 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)