summaryrefslogtreecommitdiff
path: root/src/eths.c
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-01-16 22:44:12 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-01-16 23:07:47 -0800
commit4d155cbf37ca909daff06dd8c7119274d0861f6c (patch)
treefe9d460fb46097986fe234fddb3f9bd2935c8642 /src/eths.c
parent9405281a9e16e55af687c98a83d327946953cc09 (diff)
downloadvyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.tar.gz
vyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.zip
Merge upstream version 0.3.4.
(cherry picked from commit 21eb1c8d6fefa5dcd3a9a800b4add06d5c30c01f)
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;
}