From: Marcin Siodelski Date: Tue, 17 Mar 2015 15:49:33 +0000 (+0100) Subject: [3749] Minor fix in the isRelayed unit test as a result of the review. X-Git-Tag: kea-0.9.1~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b9c8f999e4f398c550630a38395972193345ec6;p=thirdparty%2Fkea.git [3749] Minor fix in the isRelayed unit test as a result of the review. --- diff --git a/src/lib/dhcp/tests/pkt4_unittest.cc b/src/lib/dhcp/tests/pkt4_unittest.cc index 523ea8c727..39da5e5bdd 100644 --- a/src/lib/dhcp/tests/pkt4_unittest.cc +++ b/src/lib/dhcp/tests/pkt4_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2014 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC") // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above @@ -819,6 +819,7 @@ TEST_F(Pkt4Test, isRelayed) { // Setting the giaddr to 255.255.255.255 should not cause it to // be relayed message. pkt.setGiaddr(IOAddress(IOAddress::IPV4_BCAST_ADDRESS())); + EXPECT_FALSE(pkt.isRelayed()); } // Tests whether a packet can be assigned to a class and later