vxlan: fix SEGV reported in VPP-1962 06/30806/10
authorEd Warnicke <hagbard@gmail.com>
Mon, 18 Jan 2021 17:56:22 +0000 (11:56 -0600)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 20 Jan 2021 17:53:01 +0000 (17:53 +0000)
commita4b0541f64eef02fa0d003d8f831cfdeb45d3668
treee033d7a94d3135fe7f5f1f84365353b010d84111
parent67d7acd059572c1eb08b86f66ec75de3d2bde365
vxlan: fix SEGV reported in VPP-1962

Type: fix

Replace vnet_register_interface with ethernet_register_interface

Fixes https://jira.fd.io/browse/VPP-1962

Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Change-Id: I5f578fc416605429fe1e2b510ad49eb754451d40
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
src/vnet/vxlan/vxlan.c