aboutgitcodebugslistschat
path: root/dhcpv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv6.c')
-rw-r--r--dhcpv6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dhcpv6.c b/dhcpv6.c
index e7640ce..7829968 100644
--- a/dhcpv6.c
+++ b/dhcpv6.c
@@ -531,8 +531,8 @@ int dhcpv6(struct ctx *c, const struct pool *p,
resp_not_on_link.hdr.xid = mh->xid;
- tap_ip_send(c, src, IPPROTO_UDP,
- (char *)&resp_not_on_link, n, mh->xid);
+ tap_ip6_send(c, src, IPPROTO_UDP,
+ (char *)&resp_not_on_link, n, mh->xid);
return 1;
}
@@ -580,7 +580,7 @@ int dhcpv6(struct ctx *c, const struct pool *p,
resp.hdr.xid = mh->xid;
- tap_ip_send(c, src, IPPROTO_UDP, (char *)&resp, n, mh->xid);
+ tap_ip6_send(c, src, IPPROTO_UDP, (char *)&resp, n, mh->xid);
c->ip6.addr_seen = c->ip6.addr;
return 1;