Bug 89799

Summary: [patch] Making natd(8) not require a newline at the end of a configuration file.
Product: Base System Reporter: Jason Burgess <dev>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.4-STABLE   
Hardware: Any   
OS: Any   
Description Flags
file.diff none

Description Jason Burgess 2005-12-01 16:00:11 UTC
When using the -f option with natd to load a config file, the config file
is required to contain a newline at the end of the file.  If you forget
and are restarting natd remotely, you may lose access to the machine to
fix the error.

I know that this has caused great inconvenience for me to have to drive
to my office to fix the problem when I've forgotten the newline at the
end of the file.  I am submitting a patch to correct the issue.

How-To-Repeat: Load a config file into natd without a newline at the end of it.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:00 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped