Re: ifconfig -a blows up if /etc/mac.conf isn't installed

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sat, 30 Aug 2003 10:51:09 -0400 (EDT)
On Fri, 29 Aug 2003, Bryan Liesner wrote:

> On Fri, 29 Aug 2003, Kenneth D. Merry wrote:
> 
> > Memory fault (core dumped)
> 
> Same here.  I took a look, and found that line 62 of
> /usr/src/sbin/ifconfig/ifmac.c returns ENOENT, but the docs say this
> should return a -1.  So this code looks correct. 

Ken, Bryan,

Thanks -- I've committed a variation on this patch which returns (-1) but
also sets errno to ENOENT.  You can pull down the results in mac.c#1.7.
Sorry about that!

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Network Associates Laboratories
Received on Sat Aug 30 2003 - 05:51:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC