Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 1997 21:31:05 +0200 (CEST)
From:      Johan Larsson <johan@moon.pp.se>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/4137: typo of warning message in kern_opt.c
Message-ID:  <199707211931.VAA01338@moon.campus.luth.se>
Resent-Message-ID: <199707211940.MAA06021@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4137
>Category:       kern
>Synopsis:       typo of warning message in kern_opt.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 21 12:40:02 PDT 1997
>Last-Modified:
>Originator:     Johan Larsson
>Organization:
moon.pp.se
>Release:        FreeBSD 3.0-970209-SNAP i386
>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'"
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707211931.VAA01338>