enhance(rtc): Tolerate missing newline in rtable 72/272/1
authorE. Scott Daniels <daniels@research.att.com>
Thu, 6 Jun 2019 16:21:24 +0000 (16:21 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Thu, 6 Jun 2019 16:21:24 +0000 (16:21 +0000)
commitdc30c39e83785bf75cd1e6cc89f7860cedf7b486
tree2e2005a926ac8d25c10fc212abb63719fcb5f5e7
parentb7a31bd94da349e9c49f6dd7a5bcded74877a8ae
enhance(rtc): Tolerate missing newline in rtable

If the final record in a static route table does not have
a final newline (\n) this will be tolerated and the table
will be parsed as if the newline was present.  On some
systems it is not possible for the user to control when a
final newline is added (or not).

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I5627bd2a0b59a628a20757428df7960149c8229b
src/rmr/common/src/rt_generic_static.c
test/sr_nano_static_test.c