From 5107c7db1d4afcf82681a700146c4a79e60c821b Mon Sep 17 00:00:00 2001 From: Julian Kiedaisch Date: Tue, 19 Jan 2021 12:31:40 +0100 Subject: [PATCH] added address --- airplayServer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airplayServer.cpp b/airplayServer.cpp index e331960..1a8b457 100755 --- a/airplayServer.cpp +++ b/airplayServer.cpp @@ -123,6 +123,10 @@ std::string find_mac() { } if (!iface_stream) { printf("No enp8s0 \n"); + iface_stream.open("/sys/class/net/enp4s0/address"); + } + if (!iface_stream) { + printf("No enp4s0 \n"); printf("No Device found! \n"); return ""; }