From johan@moon.campus.luth.se  Mon Jul 21 12:31:18 1997
Received: from moon.campus.luth.se (johan@moon.campus.luth.se [130.240.192.137])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA05363
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Jul 1997 12:31:14 -0700 (PDT)
Received: (from johan@localhost)
	by moon.campus.luth.se (8.8.5/8.8.5) id VAA01338;
	Mon, 21 Jul 1997 21:31:05 +0200 (CEST)
Message-Id: <199707211931.VAA01338@moon.campus.luth.se>
Date: Mon, 21 Jul 1997 21:31:05 +0200 (CEST)
From: Johan Larsson <johan@moon.pp.se>
Reply-To: johan@moon.pp.se
To: FreeBSD-gnats-submit@freebsd.org
Subject: typo of warning message in kern_opt.c
X-Send-Pr-Version: 3.2

>Number:         4137
>Category:       kern
>Synopsis:       typo of warning message in kern_opt.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 21 12:40:02 PDT 1997
>Closed-Date:    Tue Jul 22 00:10:41 PDT 1997
>Last-Modified:  Tue Jul 22 00:11:45 PDT 1997
>Originator:     Johan Larsson
>Release:        FreeBSD 3.0-970209-SNAP i386
>Organization:
moon.pp.se
>Environment:

	src code.

>Description:

	Mistyped warning if options GATEWAY is declared in the config file.
	Should be 'sysctl -w net.inet.ip.forwarding=1' and not
	'sysctl -w net.inet.ip_forwarding=1'

>How-To-Repeat:

	put options GATEWAY in config and make kernel.

>Fix:
	
	Change line 12 in kern/kern_opt.c to:
	#warning "obsolete option GATEWAY - use `sysctl -w net.inet.ip.forwarding=1'"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bde 
State-Changed-When: Tue Jul 22 00:10:41 PDT 1997 
State-Changed-Why:  
Already fixed in both -current and 2.2. 
>Unformatted:
