net/avahi-app-0.6.22 not returning correct IPv6 link-local address.

Ashish Shukla आशीष शुक्ल wahjava.ml at gmail.com
Sun Apr 6 08:26:51 UTC 2008


>>>>> Joe Marcus Clarke writes:
    Joe> On Sun, 2008-04-06 at 03:38 +0900, Hajimu UMEMOTO wrote:
    >> Hi,
    >> 
    >> >>>>> On Fri, 04 Apr 2008 11:20:43 +0530
    >> >>>>> Ashish Shukla आशीष शुक्ल <wahjava.ml at gmail.com> said:
    >> 
    wahjava> I noticed that avahi-resolve is returning incorrect IPv6 link-local
    wahjava> address for a local interface.
    >> 
    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.
    >> 
    wahjava> ---->8---->8----
    wahjava> [abbe at monte-cristo ~/ports/avahi-app]$ ifconfig rl0
    wahjava> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    wahjava> options=8<VLAN_MTU>
    wahjava> ether 00:1b:38:ea:5c:76
    wahjava> inet6 fe80::21b:38ff:feea:5c76%rl0 prefixlen 64 scopeid 0x1 
    wahjava> inet 172.16.0.7 netmask 0xffffffe0 broadcast 172.16.0.31
    wahjava> inet6 fdxx:xxxx:xxxx::yyyy prefixlen 48 
    wahjava> media: Ethernet autoselect (100baseTX <full-duplex>)
    wahjava> status: active
    wahjava> [abbe at monte-cristo ~/ports/avahi-app]$ avahi-resolve -6 -n monte-cristo.local
    wahjava> monte-cristo.local      fe80:1::21b:38ff:feea:5c76
    wahjava> [abbe at monte-cristo ~/ports/avahi-app]$ uname -a
    wahjava> FreeBSD monte-cristo.fr 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Mar 30
    wahjava> 12:05:36 IST 2008     root at monte-cristo.fr:/usr/obj/usr/src/sys/ULE
    wahjava> amd64 
    wahjava> ----8<----8<----
    >> 
    wahjava> Can anyone else confirm this ? Or problem with my configuration, hmm...?
    >> 
    >> 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 :)
-- 
Ashish Shukla आशीष शुक्ल                      http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080406/c323d6ee/attachment.pgp


More information about the freebsd-ports mailing list