diff --git a/src/lib/dhcp/tests/iface_mgr_unittest.cc b/src/lib/dhcp/tests/iface_mgr_unittest.cc index 2890585688..a0435b8b8e 100644 --- a/src/lib/dhcp/tests/iface_mgr_unittest.cc +++ b/src/lib/dhcp/tests/iface_mgr_unittest.cc @@ -1694,7 +1694,7 @@ TEST_F(IfaceMgrTest, setPacketFilter6) { EXPECT_NO_THROW(iface_mgr->setPacketFilter(custom_packet_filter)); } -#if defined OS_LINUX || OS_BSD +#if defined(OS_LINUX) || defined(OS_BSD) // This test is only supported on Linux and BSD systems. It checks // if it is possible to use the IfaceMgr to select the packet filter