remove 512-byte MTU for P2P net device; make default in base class equal to max uint16

Tom Henderson 2007-03-25 07:20:24 -07:00
parent dd986b3340
commit c2a49fc1c2
2 changed files with 1 additions and 2 deletions

View File

@ -44,7 +44,6 @@ PointToPointNetDevice::PointToPointNetDevice(Node* node) :
EnableBroadcast (MacAddress ("ff:ff:ff:ff:ff:ff"));
EnableMulticast();
EnablePointToPoint();
SetMtu(512); // bytes
m_phy = new PointToPointPhy(node, this);
}

View File

@ -35,7 +35,7 @@ NetDevice::NetDevice(Node *node, const MacAddress& addr) :
m_name(""),
m_ifIndex (0),
m_address (addr),
m_mtu (0),
m_mtu (0xffff),
m_isUp (false),
m_isBroadcast (false),
m_isMulticast (false),