remove 512-byte MTU for P2P net device; make default in base class equal to max uint16
parent
dd986b3340
commit
c2a49fc1c2
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue