aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap.c')
-rw-r--r--tap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tap.c b/tap.c
index 50e1a88..0f8ee25 100644
--- a/tap.c
+++ b/tap.c
@@ -1359,6 +1359,11 @@ static void tap_start_connection(const struct ctx *c)
ev.events = EPOLLIN | EPOLLRDHUP;
ev.data.u64 = ref.u64;
epoll_ctl(c->epollfd, EPOLL_CTL_ADD, c->fd_tap, &ev);
+
+ if (c->ifi4)
+ arp_send_init_req(c);
+ if (c->ifi6 && !c->no_ndp)
+ ndp_send_init_req(c);
}
/**