diff options
-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) |