mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-13 08:11:44 +02:00
Fix Windows compile error
This commit is contained in:
parent
442b154fbf
commit
b0463fdd0c
2 changed files with 2 additions and 2 deletions
|
@ -529,7 +529,7 @@ std::string ClientConnectionWss::getMacAddress()
|
|||
#ifndef WINDOWS
|
||||
::getMacAddress(ssl_ws_.next_layer().lowest_layer().native_handle());
|
||||
#else
|
||||
::getMacAddress(tcp_ws_.next_layer().lowest_layer().local_endpoint().address().to_string());
|
||||
::getMacAddress(ssl_ws_.next_layer().lowest_layer().local_endpoint().address().to_string());
|
||||
#endif
|
||||
if (mac.empty())
|
||||
mac = "00:00:00:00:00:00";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue