X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 13 Jun 2008 10:27:51 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: XP + cygwin version 1.7: problem with /proc/net/if_inet6 format and if_indextoname Message-ID: <20080613082751.GL731@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <484C3B1B DOT 8000907 AT fliegl DOT de> <20080609173303 DOT GA22164 AT calimero DOT vinschen DOT de> <484D760C DOT 3090700 AT fliegl DOT de> <20080610104146 DOT GB32187 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080610104146.GB32187@calimero.vinschen.de> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jun 10 12:41, Corinna Vinschen wrote: > On Jun 9 20:27, Deti Fliegl wrote: > > Maybe there should be some scope tests (by IN6_IS_ADDR_* macros) in > > winsup/cygwin/fhandler_procnet.cc to provide a consistent value. > > I see. Well, I put this on my TODO list. It shouldn't be too tricky > to generate the same values as on Linux here. But see below... FYI, I just uploaded 1.7.0-17 to the release-2 area. It's supposed to print scope and flag values as on Linux. I also changed if_indextoname and friends to prefer the IPv6 device index over the v4 index if both exist. That should fix the different index numbers between if_indextoname and /proc/net/if_inet6. Please give it a try. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/