|
|
| 29 |
#include "ns3/bridge-net-device.h" |
29 |
#include "ns3/bridge-net-device.h" |
| 30 |
#include "ipv4-global-routing.h" |
30 |
#include "ipv4-global-routing.h" |
| 31 |
#include "global-router-interface.h" |
31 |
#include "global-router-interface.h" |
|
|
32 |
#include "loopback-net-device.h" |
| 32 |
#include <vector> |
33 |
#include <vector> |
| 33 |
|
34 |
|
| 34 |
namespace ns3 { |
35 |
namespace ns3 { |
|
|
| 639 |
{ |
640 |
{ |
| 640 |
Ptr<NetDevice> ndLocal = node->GetDevice (i); |
641 |
Ptr<NetDevice> ndLocal = node->GetDevice (i); |
| 641 |
|
642 |
|
|
|
643 |
if (DynamicCast <LoopbackNetDevice> (ndLocal)) |
| 644 |
{ |
| 645 |
continue; |
| 646 |
} |
| 647 |
|
| 642 |
// |
648 |
// |
| 643 |
// There is an assumption that bridge ports must never have an IP address |
649 |
// There is an assumption that bridge ports must never have an IP address |
| 644 |
// associated with them. This turns out to be a very convenient place to |
650 |
// associated with them. This turns out to be a very convenient place to |