From 3d8d542b4dcc69cfa1b39af6df882687968fb67c Mon Sep 17 00:00:00 2001 From: C Freeman Date: Mon, 2 Aug 2021 16:23:12 -0400 Subject: [PATCH] Fix spelling error in function name. (#8737) --- examples/minimal-mdns/advertiser.cpp | 2 +- src/app/server/Mdns.cpp | 2 +- src/lib/mdns/Advertiser.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/minimal-mdns/advertiser.cpp b/examples/minimal-mdns/advertiser.cpp index bdacbccafe31c5..e4a9bdc2463a29 100644 --- a/examples/minimal-mdns/advertiser.cpp +++ b/examples/minimal-mdns/advertiser.cpp @@ -270,7 +270,7 @@ int main(int argc, char ** args) .EnableIpV4(gOptions.enableIpV4) .SetPort(CHIP_PORT) .SetShortDiscriminator(gOptions.shortDiscriminator) - .SetLongDiscrimininator(gOptions.longDiscriminator) + .SetLongDiscriminator(gOptions.longDiscriminator) .SetMac(chip::ByteSpan(gOptions.mac, 6)) .SetVendorId(gOptions.vendorId) .SetProductId(gOptions.productId) diff --git a/src/app/server/Mdns.cpp b/src/app/server/Mdns.cpp index e1fcf065aa74f4..e4f04c76f2ce76 100644 --- a/src/app/server/Mdns.cpp +++ b/src/app/server/Mdns.cpp @@ -174,7 +174,7 @@ CHIP_ERROR Advertise(bool commissionableNode) ChipLogError(Discovery, "Setup discriminator not known. Using a default."); value = 840; } - advertiseParameters.SetShortDiscriminator(static_cast(value & 0xFF)).SetLongDiscrimininator(value); + advertiseParameters.SetShortDiscriminator(static_cast(value & 0xFF)).SetLongDiscriminator(value); if (DeviceLayer::ConfigurationMgr().IsCommissionableDeviceTypeEnabled() && DeviceLayer::ConfigurationMgr().GetDeviceType(value) == CHIP_NO_ERROR) diff --git a/src/lib/mdns/Advertiser.h b/src/lib/mdns/Advertiser.h index 4438f7cd103c99..f421922484360a 100644 --- a/src/lib/mdns/Advertiser.h +++ b/src/lib/mdns/Advertiser.h @@ -156,7 +156,7 @@ class CommissionAdvertisingParameters : public BaseAdvertisingParams