Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2003 10:51:09 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Bryan Liesner <bleez@comcast.net>
Cc:        current@freebsd.org
Subject:   Re: ifconfig -a blows up if /etc/mac.conf isn't installed
Message-ID:  <Pine.NEB.3.96L.1030830104925.47993L-100000@fledge.watson.org>
In-Reply-To: <20030829223808.C13130@gravy.homeunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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@fledge.watson.org      Network Associates Laboratories




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1030830104925.47993L-100000>