src/node/serial-net-device.cc
changeset 310 03f09f4d1a8d
parent 297 aee1c4c74800
child 311 f0a9889dff3a
--- a/src/node/serial-net-device.cc	Tue Feb 20 23:26:59 2007 -0800
+++ b/src/node/serial-net-device.cc	Tue Feb 20 23:58:21 2007 -0800
@@ -27,6 +27,7 @@
 #include "queue.h"
 #include "serial-net-device.h"
 #include "serial-channel.h"
+#include "serial-phy.h"
 
 NS_DEBUG_COMPONENT_DEFINE ("SerialNetDevice");
 
@@ -46,6 +47,8 @@
   EnableMulticast();
   EnablePointToPoint();
   SetMtu(512); // bytes
+
+  m_phy = new SerialPhy(node, this);
 }
 
 SerialNetDevice::~SerialNetDevice()