diff options
Diffstat (limited to 'src/ip_icmp.c')
-rw-r--r-- | src/ip_icmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ip_icmp.c b/src/ip_icmp.c index 9917f36..9fba653 100644 --- a/src/ip_icmp.c +++ b/src/ip_icmp.c @@ -95,6 +95,7 @@ static int icmp_send(struct socket *so, struct mbuf *m, int hlen) if (so->s == -1) { return -1; } + so->slirp->cb->register_poll_fd(so->s, so->slirp->opaque); if (slirp_bind_outbound(so, AF_INET) != 0) { // bind failed - close socket |