net/tap: use strlcpy for interface name
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 11 Jan 2019 20:35:14 +0000 (12:35 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit1d7490bc7cc96fb601e542d2287e5398201bb0f1
tree919f418a1543ac51e9a898a761f069c3fb8696c9
parentc69f5e0cb1944e7699e64f8f476571a4e9b6acb9
net/tap: use strlcpy for interface name

snprintf is not needed here, use strlcpy instead.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by Keith Wiles <keith.wiles@intel.com>
drivers/net/tap/rte_eth_tap.c