*BSD News Article 80788


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.mathworks.com!newsgate.duke.edu!news-server.ncren.net!taco.cc.ncsu.edu!not-for-mail
From: camattin@unity.ncsu.edu (Chris A. Mattingly)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problems after upgrading to 2.2-961014-SNAP
Date: 15 Oct 1996 14:53:57 GMT
Organization: North Carolina State University
Lines: 31
Message-ID: <5408i5$a4o@taco.cc.ncsu.edu>
NNTP-Posting-Host: heli-fishing.eos.ncsu.edu
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

Has anyone else had luck getting zephyrs to function after upgrading?

Mine worked flawlessly under the previous snap, and now, none of the
binaries can figure out host information.

shell% zstat
Unknown host: xxx-xxx.xxx.xxx.xxx

I figured maybe something significant changed somewhere, so I recompiled 
from scratch, and the same error is still relevant.  It doesn't matter
that nothing else has problems figuring out the local hostname, and other
hosts.

After very light delving into the zephyr code,  I saw that they are
having problems because inet_addr() is returning -1.  According to
the docs for inet_addr(), it returns -1 when the arg passed to inet_addr()
is malformed.  What's malformed about a standard hostname?

I put some debugging in to confirm that the host arg passed to that 
function was valid, and it looks fine and dandy to me.

So, what could have changed between the two SNAPs to cause this freakish
behavior?  Looks like I might just have to downgrade to the previous snap.

Thanks for any help,
-Chris
-- 
Chris Mattingly           | My views are not necessarily those of my employers
camattin@ncsu.edu         |
NCSU/ITECS [ECO]          | "Good programmers write good code; great 
Systems Programmer        | programmers 'borrow' good code."  -- Mike Gancarz