mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 23:16:14 +02:00
fallback for getting the MAC address
This commit is contained in:
parent
4eb77a2384
commit
2923a7d456
2 changed files with 22 additions and 5 deletions
|
@ -72,7 +72,7 @@ void ClientConnection::start()
|
|||
std::string mac = getMacAddress(socket_->native());
|
||||
if (mac.empty())
|
||||
mac = "00:00:00:00:00:00";
|
||||
logO << "My MAC: \"" << mac << "\"\n";
|
||||
logO << "My MAC: \"" << mac << "\", socket: " << socket_->native() << "\n";
|
||||
msg::Hello hello(mac);
|
||||
send(&hello);
|
||||
connected_ = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue