From: Thomas Markwalder Date: Mon, 3 Nov 2025 16:59:56 +0000 (-0500) Subject: [#4161] Remove #if 0 X-Git-Tag: Kea-3.1.4~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8713ee1e91ff535c45b2392c1933af4d7ef332f6;p=thirdparty%2Fkea.git [#4161] Remove #if 0 modified: src/bin/dhcp6/tests/addr_reg_unittest.cc --- diff --git a/src/bin/dhcp6/tests/addr_reg_unittest.cc b/src/bin/dhcp6/tests/addr_reg_unittest.cc index 9c647b311d..ffee9521ae 100644 --- a/src/bin/dhcp6/tests/addr_reg_unittest.cc +++ b/src/bin/dhcp6/tests/addr_reg_unittest.cc @@ -642,13 +642,8 @@ TEST_F(AddrRegTest, noAddrMatchRelay) { EXPECT_FALSE(srv_->processAddrRegInform(ctx)); string expected = "DHCP6_ADDR_REG_INFORM_FAIL "; -#if 0 - expected += "error on ADDR-REG-INFORM from client fe80::ef01: "; - expected += "Address mismatch: client at fe80::ef01 "; -#else expected += "error on ADDR-REG-INFORM from client fe80::1, "; expected += "Address mismatch: client at fe80::1 "; -#endif expected += "wants to register 2001:db8:1::1"; EXPECT_EQ(1, countFile(expected)); }