From owner-cvs-usrsbin Fri Nov 14 18:23:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA22870 for cvs-usrsbin-outgoing; Fri, 14 Nov 1997 18:23:55 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA22545; Fri, 14 Nov 1997 18:18:34 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA07044; Fri, 14 Nov 1997 18:15:58 -0800 (PST) Date: Fri, 14 Nov 1997 18:15:58 -0800 (PST) Message-Id: <199711150215.SAA07044@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp route.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/11/14 18:15:58 PST Modified files: usr.sbin/ppp route.c Log: Interpret AF_LINK sockaddrs correctly in show/delete route. Print out inteface names rather than numbers, and use the same "find out the names" code in SetIfAddr(). This means that the nasty ioctl(,SIOCGIFCONF,)/realloc loop is now buried :-) Revision Changes Path 1.26 +227 -172 src/usr.sbin/ppp/route.c