From owner-cvs-usrsbin Sat Dec 6 20:12:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12805 for cvs-usrsbin-outgoing; Sat, 6 Dec 1997 20:12:24 -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 UAA12632; Sat, 6 Dec 1997 20:10:37 -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 UAA29789; Sat, 6 Dec 1997 20:09:16 -0800 (PST) Date: Sat, 6 Dec 1997 20:09:16 -0800 (PST) Message-Id: <199712070409.UAA29789@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp command.c ppp.8 route.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/06 20:09:16 PST Modified files: usr.sbin/ppp command.c ppp.8 route.c Log: Only allow one arg to `delete' - the mask & gateway aren't necessary. Delete AF_LINK routes as well as AF_INET. Allow the word `default' as the arg to `delete' or in place of the first two args (dest & netmask) to `add'. Accept INTERFACE as the third arg to `add'. You can now say `add default interface' to create a default route through the tun interface. It's reported that subsequent bind()s will bind to a broadcast address and not to the address currently assigned to the tun device - this is the first step towards supporting that first connection that was around from before the dynamic IP negotiation.... Revision Changes Path 1.107 +36 -32 src/usr.sbin/ppp/command.c 1.83 +45 -30 src/usr.sbin/ppp/ppp.8 1.30 +44 -34 src/usr.sbin/ppp/route.c