Bug 89799 - [patch] Making natd(8) not require a newline at the end of a configuration file.
Summary: [patch] Making natd(8) not require a newline at the end of a configuration file.
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.4-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 16:00 UTC by Jason Burgess
Modified: 2017-12-31 22:36 UTC (History)
0 users

See Also:


Attachments
file.diff (802 bytes, patch)
2005-12-01 16:00 UTC, Jason Burgess
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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