Article View: news.software.nntp
Article #79489Re: Might this be a (future) bug that needs correction? (INN 2.4.5)
From: Russ Allbery
Date: Sun, 28 Sep 2008 22:07
Date: Sun, 28 Sep 2008 22:07
24 lines
1885 bytes
1885 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> Source file: innd/art.c (2 locations in file)
> Feature: logipaddr.
> Possible bug status: Cosmetic. Does not impair functionality.
>
> Issue: Comparison against a text literal "0.0.0.0"
>
> What if the news server host is IPv6 only? Shouldn't there also be a
> comparison against "::"?
The address in this case is entirely artificial. It's checking whether
this channel is the local channel, whose address is set to 0.0.0.0 when
the local channel is created, so that it does the right thing with UUCP
feeds.
It's weird code. There should probably be some other way of checking
for the local channel.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<871vz3gc1l.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mailReferences:
<gbouil$jr9$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <871vz3gc1l.fsf@windlord.stanford.edu> Subject: Re: Might this be a (future) bug that needs correction? (INN 2.4.5) Date: Sun, 28 Sep 2008 15:07:02 -0700 From: Russ Allbery <rra@stanford.edu> References: <gbouil$jr9$1@snarked.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 24 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.stanford.edu 1222639622 14113 171.64.19.147 (28 Sep 2008 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:JRmdNtlPyC6rdIewxk6rdGo8kRU=