Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 14:54:31 +0200
From:      Alexander Langer <alex@big.endian.de>
To:        current@FreeBSD.org
Cc:        ume@FreeBSD.org, gad@FreeBSD.org
Subject:   lpd: Host name for your address (fe80:....%xl0) unknown
Message-ID:  <20010930145431.A20483@fump.kawo2.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
Hi!

I don't think that I like this behaviour:

alex@oink ~ $ ps ax | grep lpd
15328  ??  Ss     0:00.01 lpd -4
15329  ??  S      0:00.02 lpd -4
alex@oink ~ $ lpq
lpd: Host name for your address (fe80::250:baff:fed4:a512%xl0) unknown
alex@oink ~ $ ifconfig -a
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.19 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::250:baff:fed4:a512%rl0 prefixlen 64 scopeid 0x1 
        ether 00:50:ba:d4:a5:12 
        media: Ethernet autoselect (100baseTX)
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8000<MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
        inet 127.0.0.1 netmask 0xff000000 

I don't know why lpd.c's chkhost() gets an INET6 socket,
since it only listens on tcp4:
alex@oink ~dir $ netstat -a | grep print
tcp4       0      0  *.printer              *.*                    LISTEN
ccbdd3c0 stream      0      0 ccab3200        0        0        0 /var/run/printer

Odd.  Is a link-local address supposed to have a host name anyways?

Alex

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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