From owner-freebsd-net@FreeBSD.ORG Mon Apr 13 12:30:04 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD86310656E6 for ; Mon, 13 Apr 2009 12:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD658FC19 for ; Mon, 13 Apr 2009 12:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3DCU48p098754 for ; Mon, 13 Apr 2009 12:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3DCU4RT098751; Mon, 13 Apr 2009 12:30:04 GMT (envelope-from gnats) Date: Mon, 13 Apr 2009 12:30:04 GMT Message-Id: <200904131230.n3DCU4RT098751@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: "Luiz Otavio O Souza" Cc: Subject: Re: bin/130159: [patch] ppp(8) fails to correctly set routes X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luiz Otavio O Souza List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 12:30:06 -0000 The following reply was made to PR bin/130159; it has been noted by GNATS. From: "Luiz Otavio O Souza" To: "Qing Li" , "Brett Glass" , Cc: Subject: Re: bin/130159: [patch] ppp(8) fails to correctly set routes Date: Mon, 13 Apr 2009 09:01:21 -0300 > Note: With the patch as written, the "gateway" (G) flag is set in the > routing table entry. This does not seem to cause problems, but the flag > should not be set because the "tun" interface is acting as a bridge, not a > gateway. Brett, This patch doesn't fix or change the gateway flag, it only set the interface in route update message. The gateway problem was fixed in r186308 by Qing Li (http://svn.freebsd.org/viewvc/base/head/usr.sbin/ppp/route.c?sortdir=down&r1=186119&r2=186308&sortby=rev - check the commit log) Thanks, Luiz