summaryrefslogtreecommitdiff
path: root/lib/resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resolver.h')
-rw-r--r--lib/resolver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/resolver.h b/lib/resolver.h
index bc6326edaa..a418377a29 100644
--- a/lib/resolver.h
+++ b/lib/resolver.h
@@ -15,6 +15,10 @@
struct resolver_query {
void (*callback)(struct resolver_query *, int n, union sockunion *);
+
+ /* used to immediate provide the result if IP literal is passed in */
+ union sockunion literal_addr;
+ struct thread *literal_cb;
};
void resolver_init(struct thread_master *tm);