Commit 68aae7c9 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[2765] Added unit test description in IfaceMgr unit tests.

parent a52c2327
......@@ -1105,6 +1105,12 @@ TEST_F(IfaceMgrTest, setMatchingPacketFilter) {
// This test checks that it is not possible to open two sockets: IP/UDP
// and raw (LPF) socket and bind to the same address and port. The
// raw socket should be opened together with the fallback IP/UDP socket.
// The fallback socket should fail to open when there is another IP/UDP
// socket bound to the same address and port. Failing to open the fallback
// socket should preclude the raw socket from being open.
TEST_F(IfaceMgrTest, checkPacketFilterLPFSocket) {
IOAddress loAddr("");
int socket1 = -1, socket2 = -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment