blob: e92f9c41920815957b33d09b7a022553d8148f11 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "garnet/bin/mdns/service/address_prober.h"
#include "lib/fxl/logging.h"
namespace mdns {
AddressProber::AddressProber(MdnsAgent::Host* host, CompletionCallback callback)
: Prober(host, DnsType::kA, std::move(callback)) {}
AddressProber::~AddressProber() {}
const std::string& AddressProber::ResourceName() { return host_full_name(); }
void AddressProber::SendProposedResources(MdnsResourceSection section) {
SendAddresses(section);
}
} // namespace mdns