]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5093] Put the right comparison according to its comment
authorFrancis Dupont <fdupont@isc.org>
Thu, 22 Dec 2016 09:46:54 +0000 (10:46 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 9 Jan 2017 17:17:41 +0000 (18:17 +0100)
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

index 43cb865973126fd8341e38455e5c0e57daef03f2..cd96a25d0dc16df63a780ae20566d399ef361436 100644 (file)
@@ -276,7 +276,7 @@ TEST_F(Dhcpv6SrvTest, DUID) {
     case DUID::DUID_LLT: {
         // DUID must contain at least 6 bytes long MAC
         // + 8 bytes of fixed header
-        EXPECT_GE(14, len);
+        EXPECT_GE(len, 14);
 
         uint16_t hw_type = data.readUint16();
         // there's no real way to find out "correct"