From owner-cvs-ports Fri Apr 4 13:35:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA05208 for cvs-ports-outgoing; Fri, 4 Apr 1997 13:35:08 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA05157; Fri, 4 Apr 1997 13:34:36 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id VAA13390; Fri, 4 Apr 1997 21:12:46 +0100 (BST) Message-Id: <199704042012.VAA13390@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 cc: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-ports@freebsd.org Subject: Re: cvs commit: ports/net/wide-dhcp/patches patch-aw patch-ax patch-ay patch-az In-reply-to: Your message of "Thu, 03 Apr 1997 18:37:15 -0800." <199704040237.SAA08531@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Apr 1997 21:12:46 +0100 From: Brian Somers Sender: owner-cvs-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > brian 97/04/03 18:37:14 > > Added: net/wide-dhcp/patches patch-aw patch-ax patch-ay patch-az > Log: > Finish the update to wide-dhcp so that it compiles with the > new interface stuff and if_var.h > > Closes pr3161 > > Submitted by: MIHIRA Yoshiro > Obtained from: pr3161 > In fact, I should have mentioned that dhcpc now has a -r and -n option. -r says to update /etc/resolv.conf and -n says to update the current hostname. This (-n) is "hugely" good for laptops (IMHO), 'cos it allows X, nmbd etc. to work. I've moaned before about the fundamental mistake that lots of programs that "send their machine name" make - they send the value of gethostent() - a bogus leftover from the dark ages if you ask me ! They "should" send the IP of the interface that's maintaining the connection on which they're sending the info. What is gethostent() for anyway ? (now *stop* that!) If we must live with gethostent(), the -n option allows us to set up our most probable hostname :) -- Brian , Don't _EVER_ lose your sense of humour....