cnat: fix cnat_set_snat() debug CLI 90/28690/1
authorDave Barach <dave@barachs.net>
Fri, 4 Sep 2020 20:32:24 +0000 (16:32 -0400)
committerDave Barach <dave@barachs.net>
Fri, 4 Sep 2020 20:33:25 +0000 (16:33 -0400)
Otherwise, the debug CLI command is unusable in a script because it
will eat (and complain about) subsequent lines in the script. Missing
this guitar lick, etc:

/* Get a line of input. */
 if (!unformat_user (input, unformat_line_input, line_input))
   return 0;

Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Id328e6f1cc4d2e1672c3946db3865ab5a1a3af8d


No differences found