dpdk: fix issue in parsing startup.conf dpdk section 71/3271/2
authorDamjan Marion <damarion@cisco.com>
Wed, 5 Oct 2016 07:50:38 +0000 (09:50 +0200)
committerOle Trøan <otroan@employees.org>
Wed, 5 Oct 2016 09:29:45 +0000 (09:29 +0000)
Change-Id: Ibbcce6f54bc76b8922b1c649278643c6294d13f9
Signed-off-by: Damjan Marion <damarion@cisco.com>
vnet/vnet/devices/dpdk/init.c

index 0516edc..a5c056c 100644 (file)
@@ -1213,7 +1213,7 @@ dpdk_config (vlib_main_t * vm, unformat_input_t * input)
        else if (unformat (input, "default"))
        ;
 
-      else if (unformat (input, " "))
+      else if (unformat_skip_white_space (input))
        ;
       else
        {