fix 'sh vxlan tunnels' 54/13854/1
authorNeale Ranns <[email protected]>
Mon, 30 Jul 2018 18:59:22 +0000 (11:59 -0700)
committerNeale Ranns <[email protected]>
Wed, 1 Aug 2018 07:38:16 +0000 (07:38 +0000)
commit78c70776340174a2e2c289f16c8c73395f9db289
tree0ef549f8e9b54b29ab951cd2b0e422a458ee5316
parentdb6d6b3058a20a53684536f68f0b8dc13633f6b4
fix 'sh vxlan tunnels'

this receipe:
  /* Get a line of input. */
  if (!unformat_user (input, unformat_line_input, line_input))
    return 0;
only works if there is more data following the registered command name.
So it is not so good for show commands...

Change-Id: I54249865a44526ade4b40e2d6207138a2d056e40
Signed-off-by: Neale Ranns <[email protected]>
(cherry picked from commit 16be62e3846750b5b7921c0b4d6408477be434f7)
src/vnet/vxlan/vxlan.c