From owner-svn-src-all@FreeBSD.ORG Sat Oct 27 17:09:00 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87C3483C; Sat, 27 Oct 2012 17:09:00 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 83E468FC19; Sat, 27 Oct 2012 17:08:59 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1620163bkc.13 for ; Sat, 27 Oct 2012 10:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=T1um28tJl68+b7dwetRDQGk/EGTnYp6sr+Dd1AhEuQc=; b=IAvxe5RGiwImAwn7gLHPW/Vj6ietJZerDVm9qhx5gHSc8FLDZRyYqxtkg7SgTQF8rI k6LqeRK7e/U2afFwS10P4wmCopRWguuyLuqnF4ABgpphxyfg1ifzicgw95UUy2+Vybpz BI26Dnp54hpBirOScdnSvVb+SBV1jEaWmUvYzAoUT7EwaGvRE9at5UXtWVSN6lZ4i+Uh bCKDOY9dRZ5rNMZpyRMIC7GT64HI+JFjWaOc1Lh7sk5DMqUoFc2O4VI/VeVkzzxzcf9+ UWdXsBFrRbVhP+0Uatg/YCXyxfC9/1VFEkSzv1hw4RJ09ioC2Q3j02xz6uOzA/0sEjFK Qi9Q== Received: by 10.205.137.7 with SMTP id im7mr7857133bkc.25.1351357738442; Sat, 27 Oct 2012 10:08:58 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 10:08:28 -0700 (PDT) In-Reply-To: <201210271706.q9RH6Qu4018997@svn.freebsd.org> References: <201210271706.q9RH6Qu4018997@svn.freebsd.org> From: Chris Rees Date: Sat, 27 Oct 2012 18:08:28 +0100 X-Google-Sender-Auth: AYXTG77qu2OgDokwLT3zccIusX0 Message-ID: Subject: Re: svn commit: r242181 - in head/etc: . rc.d To: Hiroki Sato Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 17:09:00 -0000 On 27 October 2012 18:06, Hiroki Sato wrote: > Author: hrs > Date: Sat Oct 27 17:06:26 2012 > New Revision: 242181 > URL: http://svn.freebsd.org/changeset/base/242181 > > Log: > Fix an issue when ipv6_enable=YES && ipv6_gateway_enable=YES which could > prevent rtadvd(8) from working as intended. > > Spotted by: brian > Discussed with: brian > > Modified: > head/etc/network.subr > head/etc/rc.d/rtadvd > > Modified: head/etc/network.subr > ============================================================================== > --- head/etc/network.subr Sat Oct 27 16:44:41 2012 (r242180) > +++ head/etc/network.subr Sat Oct 27 17:06:26 2012 (r242181) > @@ -504,7 +504,11 @@ ipv6_autoconfif() > # backward compatibility: $ipv6_enable > case $ipv6_enable in > [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) > - return 0 > + if checkyesno ipv6_gateway_enable; then > + return 1 > + else > + return 0 > + fi While there, any chance to use checkyesno ipv6_enable too? Chris