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

This commit is contained in:
Tom Henderson committed 2007-03-25 07:20:24 -07:00
1 parent dd986b3340
commit c2a49fc1c2
2 files changed
+1 -2

No files matched your search

-1
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);
}
+1 -1
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),