Browse Source

[3604] Fix in the cfg_iface equality operator unit test.

Marcin Siodelski 10 years ago
parent
commit
409918e8a5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dhcpsrv/tests/cfg_iface_unittest.cc

+ 2 - 2
src/lib/dhcpsrv/tests/cfg_iface_unittest.cc

@@ -339,12 +339,12 @@ TEST_F(CfgIfaceTest, equality) {
     EXPECT_FALSE(cfg1 != cfg2);
 
     // Differ by socket type.
-    cfg1.useSocketType(AF_INET, "raw");
+    cfg1.useSocketType(AF_INET, "datagram");
     EXPECT_FALSE(cfg1 == cfg2);
     EXPECT_TRUE(cfg1 != cfg2);
 
     // Now, both should use the same socket type.
-    cfg2.useSocketType(AF_INET, "raw");
+    cfg2.useSocketType(AF_INET, "datagram");
     EXPECT_TRUE(cfg1 == cfg2);
     EXPECT_FALSE(cfg1 != cfg2);
 }