summaryrefslogtreecommitdiffstats
path: root/src/vnet/dns/dns.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-08-15 15:14:14 -0400
committerDamjan Marion <dmarion@me.com>2019-08-19 09:23:20 +0000
commit28c6e5cfdb3bda0c1869b5a976210fa633590652 (patch)
tree3c19bd3499a3f15fd11b3a6600ab5785a648962c /src/vnet/dns/dns.c
parent6bde1f4cd1ec703e04e880118d440a1c8d49b8f4 (diff)
dhcp: resolver process node index in main_t
Remove the (unused) node_registration_t, don't try to use it to signal resolution events. Type: fix Ticket: VPP-1746 Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: Ice975e32152892ac4100b9e758412d48a43f09f1 (cherry picked from commit 018c14b7dbc5a910693f150045bfa803c4ae4eec)
Diffstat (limited to 'src/vnet/dns/dns.c')
-rw-r--r--src/vnet/dns/dns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/dns/dns.c b/src/vnet/dns/dns.c
index 471728b8bb7..3285bedc903 100644
--- a/src/vnet/dns/dns.c
+++ b/src/vnet/dns/dns.c
@@ -650,7 +650,8 @@ vnet_send_dns_request (dns_main_t * dm, dns_cache_entry_t * ep)
out:
- vlib_process_signal_event_mt (dm->vlib_main, dns_resolver_node.index,
+ vlib_process_signal_event_mt (dm->vlib_main,
+ dm->resolver_process_node_index,
DNS_RESOLVER_EVENT_PENDING, 0);
}