src/helper/bridge-helper.cc
changeset 4140 6bbf05bf4826
parent 3937 04f9377661b8
child 4147 5d8530130930
--- a/src/helper/bridge-helper.cc	Tue Jan 20 15:47:14 2009 -0800
+++ b/src/helper/bridge-helper.cc	Tue Jan 20 17:39:18 2009 -0800
@@ -20,6 +20,7 @@
 #include "ns3/log.h"
 #include "ns3/bridge-net-device.h"
 #include "ns3/node.h"
+#include "ns3/object-names.h"
 
 NS_LOG_COMPONENT_DEFINE ("BridgeHelper");
 
@@ -57,4 +58,12 @@
   return devs;
 }
 
+NetDeviceContainer
+BridgeHelper::Install (std::string nodeName, NetDeviceContainer c)
+{
+  NS_LOG_FUNCTION_NOARGS ();
+  Ptr<Node> node = Names::Find<Node> (nodeName);
+  return Install (node, c);
+}
+
 } // namespace ns3