fd-net-device: (fixes #2801) MTU is not set correctly
This commit is contained in:
@@ -33,6 +33,7 @@ Bugs fixed
|
||||
----------
|
||||
- Bug 2901 - Add CommandLine::Parse (const std::vector<std::string>> args)
|
||||
- Bug 2461 - CommandLine should handle non-option arguments
|
||||
- Bug 2801 - FdNetDevice device MTU is not set correctly
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
@@ -186,7 +186,7 @@ EmuFdNetDeviceHelper::SetFileDescriptor (Ptr<FdNetDevice> device) const
|
||||
}
|
||||
|
||||
close (mtufd);
|
||||
device->SetMtu (ifr.ifr_mtu);
|
||||
device->SetMtu (ifr2.ifr_mtu);
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user