summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-06 09:54:17 +0000
committerru <ru@FreeBSD.org>2002-04-06 09:54:17 +0000
commitc711dcdf854f5027e7badfc1855bf52674952458 (patch)
tree05ae18810be5cbebdebe0baf1bd5f81860ea3a9f /lib/libc
parent5b0180d87557973b16d876133871c7d3a429cc38 (diff)
downloadFreeBSD-src-c711dcdf854f5027e7badfc1855bf52674952458.zip
FreeBSD-src-c711dcdf854f5027e7badfc1855bf52674952458.tar.gz
Polish previous revision.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/ether_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/ether_addr.c b/lib/libc/net/ether_addr.c
index 1651f4c..9f3f6c4 100644
--- a/lib/libc/net/ether_addr.c
+++ b/lib/libc/net/ether_addr.c
@@ -121,7 +121,7 @@ char
i = sprintf(a,"%02x:%02x:%02x:%02x:%02x:%02x",
n->octet[0],n->octet[1],n->octet[2],
n->octet[3],n->octet[4],n->octet[5]);
- if (i < 11)
+ if (i < 17)
return (NULL);
return ((char *)&a);
}
OpenPOWER on IntegriCloud