Commit acfaed42 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3547] Trivial fixes in the PktFilterLPFTest.

parent 9cff2dcf
...@@ -192,7 +192,7 @@ TEST_F(PktFilterLPFTest, DISABLED_receive) { ...@@ -192,7 +192,7 @@ TEST_F(PktFilterLPFTest, DISABLED_receive) {
// This test verifies that if the packet is received over the raw // This test verifies that if the packet is received over the raw
// socket and its destination address doesn't match the address // socket and its destination address doesn't match the address
// to which the socket is "bound", the packet is dropped. // to which the socket is "bound", the packet is dropped.
TEST_F(PktFilterBPFTest, DISABLED_filterOutUnicast) { TEST_F(PktFilterLPFTest, DISABLED_filterOutUnicast) {
// Packet will be received over loopback interface. // Packet will be received over loopback interface.
Iface iface(ifname_, ifindex_); Iface iface(ifname_, ifindex_);
...@@ -200,7 +200,7 @@ TEST_F(PktFilterBPFTest, DISABLED_filterOutUnicast) { ...@@ -200,7 +200,7 @@ TEST_F(PktFilterBPFTest, DISABLED_filterOutUnicast) {
IOAddress addr("127.0.0.1"); IOAddress addr("127.0.0.1");
// Create an instance of the class which we are testing. // Create an instance of the class which we are testing.
PktFilterBPF pkt_filter; PktFilterLPF pkt_filter;
// Open socket. We don't check that the socket has appropriate // Open socket. We don't check that the socket has appropriate
// options and family set because we have checked that in the // options and family set because we have checked that in the
// openSocket test already. // openSocket test already.
......
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