From owner-freebsd-hackers Wed Jun 16 17: 8:59 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp2.vnet.net (smtp2.vnet.net [166.82.1.32]) by hub.freebsd.org (Postfix) with ESMTP id E457F14A2F for ; Wed, 16 Jun 1999 17:08:57 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp2.vnet.net (8.9.1a/8.9.1) with ESMTP id UAA19016 for ; Wed, 16 Jun 1999 20:09:35 -0400 (EDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id UAA03049 for ; Wed, 16 Jun 1999 20:08:54 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.9.2/8.6.9) id UAA07982 for freebsd-hackers@freebsd.org; Wed, 16 Jun 1999 20:08:54 -0400 (EDT) Date: Wed, 16 Jun 1999 20:08:54 -0400 (EDT) From: Thomas David Rivers Message-Id: <199906170008.UAA07982@lakes.dignus.com> To: freebsd-hackers@freebsd.org Subject: More on ifconfig sl0 issue... Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well - I've added some printf()s to determine that what I suspected was correct. The route is being entered into the table twice. If looks like in_ifinit() is calling the sioctl() routine, which calls if_up(), which then adds the route. Then, in_ifinit() goes on to add another route and *poof* - the route's already there - you get EEXISTS. What's interesting about this is it only happens on my small laptop. On an older 486 I have - if_up() doesn't seem to get invokved (I'm working on finding out why.) For those interested - see /sys/netinet/in.c and /sys/net/if.c and /sys/net/if_sl.c. This is all with a 3.2-RELEASE source base. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message