]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3749] Minor fix in the isRelayed unit test as a result of the review.
authorMarcin Siodelski <marcin@isc.org>
Tue, 17 Mar 2015 15:49:33 +0000 (16:49 +0100)
committerMarcin Siodelski <marcin@isc.org>
Tue, 17 Mar 2015 15:49:33 +0000 (16:49 +0100)
src/lib/dhcp/tests/pkt4_unittest.cc

index 523ea8c727b5bf518ff55e2ca351a492b30d4b27..39da5e5bddfe07830978614f7e3c041ca95764c9 100644 (file)
@@ -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