Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Apr 2008 13:56:44 +0530
From:      wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
To:        freebsd-ports@freebsd.org
Subject:   Re: net/avahi-app-0.6.22 not returning correct IPv6 link-local address.
Message-ID:  <87prt3xubf.fsf@chateau.d.lf>
In-Reply-To: <1207426207.47072.9.camel@shumai.marcuscom.com> (Joe Marcus Clarke's message of "Sat, 05 Apr 2008 16:10:07 -0400")
References:  <87sky2183w.fsf@chateau.d.lf> <ygek5jcno4r.wl%ume@mahoroba.org> <1207426207.47072.9.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

>>>>> Joe Marcus Clarke writes:
    Joe> On Sun, 2008-04-06 at 03:38 +0900, Hajimu UMEMOTO wrote:
    >> Hi,
    >>=20
    >> >>>>> On Fri, 04 Apr 2008 11:20:43 +0530
    >> >>>>> Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=
=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2 <wahjava.ml@gmail.com> said:
    >>=20
    wahjava> I noticed that avahi-resolve is returning incorrect IPv6 link-=
local
    wahjava> address for a local interface.
    >>=20
    wahjava> I tried looking up for the issue myself, but I'm not familiar =
with the
    wahjava> interface, avahi is using to lookup interface's address.
    >>=20
    wahjava> ---->8---->8----
    wahjava> [abbe@monte-cristo ~/ports/avahi-app]$ ifconfig rl0
    wahjava> rl0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metr=
ic 0 mtu 1500
    wahjava> options=3D8<VLAN_MTU>
    wahjava> ether 00:1b:38:ea:5c:76
    wahjava> inet6 fe80::21b:38ff:feea:5c76%rl0 prefixlen 64 scopeid 0x1=20
    wahjava> inet 172.16.0.7 netmask 0xffffffe0 broadcast 172.16.0.31
    wahjava> inet6 fdxx:xxxx:xxxx::yyyy prefixlen 48=20
    wahjava> media: Ethernet autoselect (100baseTX <full-duplex>)
    wahjava> status: active
    wahjava> [abbe@monte-cristo ~/ports/avahi-app]$ avahi-resolve -6 -n mon=
te-cristo.local
    wahjava> monte-cristo.local      fe80:1::21b:38ff:feea:5c76
    wahjava> [abbe@monte-cristo ~/ports/avahi-app]$ uname -a
    wahjava> FreeBSD monte-cristo.fr 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Su=
n Mar 30
    wahjava> 12:05:36 IST 2008     root@monte-cristo.fr:/usr/obj/usr/src/sy=
s/ULE
    wahjava> amd64=20
    wahjava> ----8<----8<----
    >>=20
    wahjava> Can anyone else confirm this ? Or problem with my configuratio=
n, hmm...?
    >>=20
    >> It seems a KAME specific embedded scope-id is exposed.  Pleased try
    >> the attached patch.

    Joe> This works.  I also committed another patch which adds proper scope
    Joe> detection.  Thanks!

This works for me too.

Thanks :)
=2D-=20
Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=
=95=E0=A5=8D=E0=A4=B2                      http://wahjava.wordpress.com/
=C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2=
=B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-=
=C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- --

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH+IlJHy+EEHYuXnQRAgYaAKCu/eK095WmooBQ1sXt+mHA6kB0mQCfe1u+
lO8+K6qT7ICEyAR3xINWdF0=
=LmCY
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87prt3xubf.fsf>