Re: [Nbd] Specifying interface to listen on
- To: Tefnet Developers <developers@...136...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] Specifying interface to listen on
- From: Wouter Verhelst <w@...112...>
- Date: Wed, 17 Oct 2007 10:59:47 +0200
- Message-id: <20071017085947.GA4910@...39...>
- In-reply-to: <20070927110607.GC31306@...39...>
- References: <1190887834.3295.21.camel@...137...> <20070927104128.GB31306@...39...> <20070927110607.GC31306@...39...>
On Thu, Sep 27, 2007 at 01:06:07PM +0200, Wouter Verhelst wrote:
> On Thu, Sep 27, 2007 at 12:41:28PM +0200, Wouter Verhelst wrote:
> > On Thu, Sep 27, 2007 at 12:10:34PM +0200, Tefnet Developers wrote:
> > > @@ -1443,7 +1457,12 @@
> > > DEBUG("Waiting for connections... bind, ");
> > > addrin.sin_family = AF_INET;
> > > addrin.sin_port = htons(serve->port);
> > > - addrin.sin_addr.s_addr = 0;
> > > +
> > > + hen=gethostbyname(serve->host);
>
> Thinking a bit further about this patch, I'm also not entirely convinced
> that "host" is an appropriate name for this concept. I associate that
> with things like "the remote host we're listening to", rather than "the
> local IP address we're listening on". Please also consider that in an
> updated patch.
Are you guys working on this? I'd like to bring out 2.9.8, and this
would be a good candidate for that release.
--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22
Reply to: