mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
fixup
This commit is contained in:
parent
a55177cd67
commit
57b04d6424
2 changed files with 10 additions and 9 deletions
|
@ -38,7 +38,7 @@ ArpCacheHelper::Install (NetDeviceContainer &devices, Ipv4InterfaceContainer &in
|
|||
|
||||
// and associated address
|
||||
uint32_t otherIfIndex = otherDevice->GetIfIndex ();
|
||||
Ipv4Address ipaddr = interfaces.GetAddress (otherIfIndex, 1); // IP
|
||||
Ipv4Address ipaddr = interfaces.GetAddress (otherIfIndex, 0); // IP
|
||||
|
||||
// update cache
|
||||
ArpCache::Entry* entry = cache->Lookup (ipaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue