summaryrefslogtreecommitdiff
path: root/src/eths.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eths.c')
-rw-r--r--src/eths.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/eths.c b/src/eths.c
index 6ad5878..6a6cd31 100644
--- a/src/eths.c
+++ b/src/eths.c
@@ -54,9 +54,6 @@ static int eths_get_hwaddr(const char *devname, unsigned char *buf, int size, in
memcpy(buf, ifr.ifr_hwaddr.sa_data, min(size, sizeof(ifr.ifr_hwaddr.sa_data)));
*type = ifr.ifr_hwaddr.sa_family;
}
- else {
- perror("SIOCGIFHWADDR failed");
- }
close(fd);
return err;
}