diff options
author | horchi <vdr@jwendel.de> | 2017-03-19 19:20:22 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-19 19:20:22 +0100 |
commit | f5d8bcff5c81fc92969101f36be775962546b5e8 (patch) | |
tree | 165b065ffb94cba0fcb744fb20ef372283458106 /lib/common.c | |
parent | e7aabe84f05fb90255051af9af1b84ad084c1247 (diff) | |
download | vdr-plugin-epg2vdr-f5d8bcff5c81fc92969101f36be775962546b5e8.tar.gz vdr-plugin-epg2vdr-f5d8bcff5c81fc92969101f36be775962546b5e8.tar.bz2 |
2017-03-19: version 1.1.50 (horchi)\n - bugfix: Fixed AMC address lookup\n\n1.1.50
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 fb95c1a..413b9f5 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++) |