UDP-Local: fix unregistered ports 84/19684/3
authorNeale Ranns <nranns@cisco.com>
Fri, 17 May 2019 13:04:33 +0000 (06:04 -0700)
committerDave Barach <openvpp@barachs.net>
Fri, 17 May 2019 16:10:43 +0000 (16:10 +0000)
commit0a715cd03fe55719b8bc78cad0cf761df690157a
treea3943d27eceb41c561be4cad93d7654576ef117b
parent5022c6ce34b5215e63a4ea5972ca0ed0fd196ab0
UDP-Local: fix unregistered ports

- if the port is unregistered then write ~0 into the sparse vec, this allows the DP to send packets to ICMP
- remove the v6 arcs from the v4 node and vice-versa (since they're never taken)
- i have tests for this in a pending change for the punt socket

Change-Id: Icbd97de2c2fc38490c16afc2e0b414d8436593c4
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/udp/udp_local.c