summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/lsack.c
diff options
context:
space:
mode:
authordenis <denis@cvs.openbsd.org>2019-12-11 21:33:57 +0000
committerdenis <denis@cvs.openbsd.org>2019-12-11 21:33:57 +0000
commit6b9c3b04d0b7af28e22cebc656403319b0064ebc (patch)
tree259845fd70c478660493cc4205cc2ffe93a37b18 /usr.sbin/ospf6d/lsack.c
parentfd707b4be35280be3af34fe6b461275d589933de (diff)
Convert sendto() to sendmsg().
This makes code similar to ospfd(8). OK claudio@ deraadt@
Diffstat (limited to 'usr.sbin/ospf6d/lsack.c')
-rw-r--r--usr.sbin/ospf6d/lsack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/lsack.c b/usr.sbin/ospf6d/lsack.c
index e8287a449f7..26aa263af91 100644
--- a/usr.sbin/ospf6d/lsack.c
+++ b/usr.sbin/ospf6d/lsack.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsack.c,v 1.6 2014/10/25 03:23:49 lteo Exp $ */
+/* $OpenBSD: lsack.c,v 1.7 2019/12/11 21:33:56 denis Exp $ */
/*
* Copyright (c) 2004, 2005, 2007 Esben Norby <norby@openbsd.org>
@@ -55,7 +55,7 @@ send_ls_ack(struct iface *iface, struct in6_addr addr, void *data, size_t len)
if (upd_ospf_hdr(buf, iface))
goto fail;
- ret = send_packet(iface, buf->buf, buf->wpos, &addr);
+ ret = send_packet(iface, buf, &addr);
ibuf_free(buf);
return (ret);