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.
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
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Created attachment 258915 [details] natd.c.diff ^Triage: rebase patch.