From 6bcc6a45573f387fa6c1682069da7ee9036cabe2 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Tue, 15 Oct 2019 15:47:55 +0000 Subject: dhcp: fix crash on unicast renewal send Type: fix - when the addresses were learnt a copy of the client was sent to the main thread, this meant the unicast adjacecny was saved on the copy not on the original. - Add logging. - Improve the proxy-node that hands the clint packets so the DHCP packets are traced. - allow a renewal to configure new address data Change-Id: I6ab0afcccbc4a1cdefdd1b8beeda8fc7ba20ec1f Signed-off-by: Neale Ranns --- src/vnet/ip/ip4_punt_drop.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/vnet/ip/ip4_punt_drop.c') diff --git a/src/vnet/ip/ip4_punt_drop.c b/src/vnet/ip/ip4_punt_drop.c index fc5a68fc66a..aee84b4df52 100644 --- a/src/vnet/ip/ip4_punt_drop.c +++ b/src/vnet/ip/ip4_punt_drop.c @@ -187,10 +187,7 @@ VLIB_REGISTER_NODE (ip4_not_enabled_node) = .name = "ip4-not-enabled", .vector_size = sizeof (u32), .format_trace = format_ip4_forward_next_trace, - .n_next_nodes = 1, - .next_nodes = { - [0] = "error-drop", - }, + .sibling_of = "ip4-drop", }; VLIB_REGISTER_NODE (ip4_punt_node) = -- cgit 1.2.3-korg