diff options
author | horchi <vdr@jwendel.de> | 2017-03-20 18:02:17 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-20 18:02:17 +0100 |
commit | 42b9898a8a4a07a3134dadce5d24618a0c402fd1 (patch) | |
tree | 6b3837b836873c8bda454778975fe2461bc006fe /lib/common.c | |
parent | 9065c5cfb63a92a08c44fe249b53b6a8cb003eab (diff) | |
download | vdr-epg-daemon-42b9898a8a4a07a3134dadce5d24618a0c402fd1.tar.gz vdr-epg-daemon-42b9898a8a4a07a3134dadce5d24618a0c402fd1.tar.bz2 |
2017-03-20: version 1.1.113 (horchi)\n -added: Add validity check of the API key for https://www.themoviedb.org (by 3po)\n - change: Removed compiler warnings when using clang\n - added: Added clang++ to Make.config (as optional compiler)\n\n
Diffstat (limited to 'lib/common.c')
-rw-r--r-- | lib/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common.c b/lib/common.c index 8a0e9ac..9207083 100644 --- a/lib/common.c +++ b/lib/common.c @@ -1443,7 +1443,7 @@ const char* getMacOf(const char* device) int s; s = socket(AF_INET, SOCK_DGRAM, 0); - strcpy(ifr.ifr_name, "eth0"); + strcpy(ifr.ifr_name, device); ioctl(s, SIOCGIFHWADDR, &ifr); for (int i = 0; i < macTuppel; i++) |