Skip to content

Commit

Permalink
Make clang-tidy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jun 14, 2023
1 parent 7f12579 commit dfd873a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/dnssd/minimal_mdns/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ CHIP_ERROR Server::BroadcastImpl(chip::System::PacketBufferHandle && data, uint1
VerifyOrReturnError(mIpv4Endpoint != nullptr, CHIP_ERROR_NOT_CONNECTED);
return mIpv4Endpoint->SendTo(mIpv4BroadcastAddress, port, std::move(data), interfaceId);
}
else if (addressType == chip::Inet::IPAddressType::kAny && (mIpv4Endpoint != nullptr))

if (addressType == chip::Inet::IPAddressType::kAny && (mIpv4Endpoint != nullptr))
{
// For "Any" we consider IPV4 optional, so only report errors
//
Expand Down

0 comments on commit dfd873a

Please sign in to comment.