From: Marcin Siodelski Date: Thu, 15 Jan 2015 12:20:03 +0000 (+0100) Subject: [3547] Trivial fixes in the PktFilterLPFTest. X-Git-Tag: trac3712_base~65^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=acfaed42186e8c4404eafdcddcb85a34224f46a8;p=thirdparty%2Fkea.git [3547] Trivial fixes in the PktFilterLPFTest. --- diff --git a/src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc b/src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc index 7c4b70dbdd..7c5a0e2d67 100644 --- a/src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc +++ b/src/lib/dhcp/tests/pkt_filter_lpf_unittest.cc @@ -192,7 +192,7 @@ TEST_F(PktFilterLPFTest, DISABLED_receive) { // This test verifies that if the packet is received over the raw // socket and its destination address doesn't match the address // 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. Iface iface(ifname_, ifindex_); @@ -200,7 +200,7 @@ TEST_F(PktFilterBPFTest, DISABLED_filterOutUnicast) { IOAddress addr("127.0.0.1"); // 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 // options and family set because we have checked that in the // openSocket test already.