src/devices/mesh/mesh-wifi-interface-mac.cc
changeset 4944 779b641cff5a
parent 4934 345b49df838b
child 4946 f97e16db1d79
--- a/src/devices/mesh/mesh-wifi-interface-mac.cc	Thu Apr 02 20:41:08 2009 +0400
+++ b/src/devices/mesh/mesh-wifi-interface-mac.cc	Tue Apr 07 20:24:39 2009 +0400
@@ -584,7 +584,6 @@
           }
         }
     }
-
   // Filter frame through all installed plugins
   for (PluginList::iterator i = m_plugins.begin (); i != m_plugins.end(); ++i)
     {
@@ -596,6 +595,10 @@
   if (hdr->IsData ())
       ForwardUp (packet, hdr->GetAddr4(), hdr->GetAddr3());
 }
-
+uint32_t
+MeshWifiInterfaceMac::GetLinkMetric (Mac48Address peerAddress)
+{
+  return 1;
+}
 } // namespace ns3