GlobalRoutingManager: don't segfault for NetDevices that have no associated Channel (e.g. virtual NetDevices); just skip them.
--- a/src/routing/global-routing/global-router-interface.cc Thu May 15 12:54:28 2008 +0100
+++ b/src/routing/global-routing/global-router-interface.cc Thu May 15 12:56:10 2008 +0100
@@ -638,6 +638,10 @@
// router (to use OSPF lingo) is running.
//
Ptr<Channel> ch = ndLocal->GetChannel();
+ if (ch == NULL)
+ {
+ continue;
+ }
Ptr<NetDevice> ndRemote = GetAdjacent(ndLocal, ch);
//
// The adjacent net device is aggregated to a node. We need to ask that net