toops - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a70ad97730d9cb160d6ce7028b5cac03f71e37b6 | |
parent 1237836a7fdcf2b703269bf13e4fc3e60125fbca | |
Author: rsc | |
Date: Mon, 2 Jan 2006 11:16:29 +0000 oops Diffstat: M src/libip/mkfile | 1 + M src/libip/myetheraddr.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) --- | |
diff --git a/src/libip/mkfile b/src/libip/mkfile | |
t@@ -7,6 +7,7 @@ OFILES=\ eipfmt.$O\ freeipifc.$O\ ipaux.$O\ + myetheraddr.$O\ myipaddr.$O\ parseether.$O\ parseip.$O\ | |
diff --git a/src/libip/myetheraddr.c b/src/libip/myetheraddr.c | |
t@@ -11,7 +11,7 @@ myetheraddr(uchar *to, char *dev) ifclist = readipifc(nil, nil, -1); for(ifc=ifclist; ifc; ifc=ifc->next){ - if(dev && strcmp(ifc->dev) != 0) + if(dev && strcmp(ifc->dev, dev) != 0) continue; if(memcmp(zea, ifc->ether, 6) == 0) continue; |