Subject: misc/10249: /etc/daily thinks appletalk is ipv6
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@mines.edu>
List: netbsd-bugs
Date: 06/01/2000 06:02:09
>Number:         10249
>Category:       misc
>Synopsis:       /etc/daily thinks appletalk is ipv6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 01 06:03:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jim Bernard
>Release:        May 29, 2000
>Organization:
	Speaking for myself
>Environment:
System: NetBSD zoo 1.4Y NetBSD 1.4Y (ZOO-$Revision: 1.52 $) #0: Fri May 26 14:58:14 MDT 2000 jim@zoo:/home/tmp/compile/sys/arch/i386/compile/ZOO i386


>Description:
	/etc/daily distinguishes between ipv4 and ipv6 by the presence of
	a ":" in the third field of "netstat -in" output.  However, appletalk
	networks are listed with the prefix "atalk:", so /etc/daily thinks
	these are ipv6, even though there's no ipv6 anywhere on the local
	network.  For example:

IPv6 network:
Name  Mtu   Network       Address              Ipkts Ierrs    Opkts Oerrs Colls
de0   1500  atalk:1-65534 65280.249              266     0      187     0     0
lo0   32972 atalk:0       0.0                    370     0      370     0     0

>How-To-Repeat:
	Run appletalk; read output of /etc/daily; wonder why there's anything
	listed under ipv6 network.

>Fix:
	Not sure.  It would be straightforward to simply move lines with
	"atalk:" to the ipv4 output section, but can appletalk ever run
	over ipv6?  If so, would netatalk support it, and how would the
	output of netstat differ in the two cases?
>Release-Note:
>Audit-Trail:
>Unformatted: