fd-net-device: (fixes #2801) MTU is not set correctly

This commit is contained in:
Manuel Requena
2018-05-03 06:52:20 -07:00
parent 96a9ab8b95
commit 8da38f9a00
2 changed files with 2 additions and 1 deletions

View File

@@ -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
------------

View File

@@ -186,7 +186,7 @@ EmuFdNetDeviceHelper::SetFileDescriptor (Ptr<FdNetDevice> device) const
}
close (mtufd);
device->SetMtu (ifr.ifr_mtu);
device->SetMtu (ifr2.ifr_mtu);
}
int