diff options
author | rsc <devnull@localhost> | 2006-01-02 11:16:29 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-01-02 11:16:29 +0000 |
commit | a70ad97730d9cb160d6ce7028b5cac03f71e37b6 (patch) | |
tree | f651c83d5acf296a432362cd21ab6b6bd0ef06ae /src/libip | |
parent | 1237836a7fdcf2b703269bf13e4fc3e60125fbca (diff) | |
download | plan9port-a70ad97730d9cb160d6ce7028b5cac03f71e37b6.tar.gz plan9port-a70ad97730d9cb160d6ce7028b5cac03f71e37b6.tar.bz2 plan9port-a70ad97730d9cb160d6ce7028b5cac03f71e37b6.zip |
oops
Diffstat (limited to 'src/libip')
-rw-r--r-- | src/libip/mkfile | 1 | ||||
-rw-r--r-- | src/libip/myetheraddr.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libip/mkfile b/src/libip/mkfile index 9546034d..d0099289 100644 --- a/src/libip/mkfile +++ b/src/libip/mkfile @@ -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 index a51a40d6..a6b12def 100644 --- a/src/libip/myetheraddr.c +++ b/src/libip/myetheraddr.c @@ -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; |