Merge remote-tracking branch 'weave/master' into aosp-master Undo deletion of Android.mk happened on master branch. Change-Id: I05ba2937cd98755d205e0a777e4f7d13899eb238
diff --git a/src/privet/publisher.cc b/src/privet/publisher.cc index 62e980e..55c9fe4 100644 --- a/src/privet/publisher.cc +++ b/src/privet/publisher.cc
@@ -34,6 +34,7 @@ CHECK(device_); CHECK(cloud_); CHECK(dns_sd_); + Update(); } Publisher::~Publisher() { @@ -73,7 +74,8 @@ auto new_data = std::make_pair(port, txt_record); if (published_ == new_data) return; - VLOG(1) << "Updating DNS-SD"; + + VLOG(1) << "Updating service using DNS-SD, port: " << port; published_ = new_data; dns_sd_->PublishService(kPrivetServiceType, port, txt_record); }