net/virtio: use new ethernet address parser
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 5 Jul 2019 17:16:23 +0000 (10:16 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Jul 2019 19:26:52 +0000 (21:26 +0200)
commit8eb49a1860ebfc9055f0374d1301d4bf42ba8bfc
treee8cd1dbbdffa7581cbe013b88d2889a90356ee9f
parentb5ddce8959b203020bc536e19cebe6b3cc9fa6a1
net/virtio: use new ethernet address parser

Use rte_ether_unformat_addr rather than sscanf.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c