Subject: Re: icmp6 build prob
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: current-users
Date: 05/29/2002 19:10:52
---
Date: Wed, 29 May 2002 22:50:49 +0300 (EEST)
From: Christos Zoulas <christos@netbsd.org>
To: source-changes@netbsd.org
Subject: CVS commit: syssrc/sys/netinet6


Module Name:    syssrc
Committed By:   christos
Date:           Wed May 29 19:50:49 UTC 2002

Modified Files:
        syssrc/sys/netinet6: icmp6.c

Log Message:
make this compile again.
---

-lava

On Wed, 29 May 2002 @ 4:52pm (+0100), Patrick Welche wrote:

PW> With freshly cvs'd i386 source:
PW>
PW> netinet6/icmp6.c: In function `icmp6_reflect':
PW> netinet6/icmp6.c:2204: `nd_ifinfo' undeclared (first use in this function)
PW> netinet6/icmp6.c:2204: (Each undeclared identifier is reported only once
PW> netinet6/icmp6.c:2204: for each function it appears in.)
PW>
PW>         if (m->m_pkthdr.rcvif) {
PW>                 /* XXX: This may not be the outgoing interface */
PW>                 ip6->ip6_hlim = nd_ifinfo[m->m_pkthdr.rcvif->if_index].chlim;
PW>         } else
PW>                 ip6->ip6_hlim = ip6_defhlim;
PW>
PW>
PW> Should that nd_ifinfo really be ndi (from netinet6/nd6.h) or is my tree up
PW> the creek?
PW>
PW> Cheers,
PW>
PW> Patrick
PW>

later -           | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
Brian A. Seklecki | problem solver, scholar, BOFH, | \ / Campaign Against
                  | vegetarian, runner, NetBSD     |  X  Exchange, Outlook
                  | advocate, spiritual machine }; | / \ & HTML Email

"There are only two things infinite:  The universe, and human stupidity.  And I'm not to sure about the first one."  -Albert Einstein