summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d/database.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/database.c
parentfd707b4be35280be3af34fe6b461275d589933de (diff)
Convert sendto() to sendmsg().
This makes code similar to ospfd(8). OK claudio@ deraadt@
Diffstat (limited to 'usr.sbin/ospf6d/database.c')
-rw-r--r--usr.sbin/ospf6d/database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/database.c b/usr.sbin/ospf6d/database.c
index 93f13a01402..d8dc8558d4b 100644
--- a/usr.sbin/ospf6d/database.c
+++ b/usr.sbin/ospf6d/database.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: database.c,v 1.16 2019/05/10 13:50:34 claudio Exp $ */
+/* $OpenBSD: database.c,v 1.17 2019/12/11 21:33:56 denis Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -147,7 +147,7 @@ send_db_description(struct nbr *nbr)
goto fail;
/* transmit packet */
- ret = send_packet(nbr->iface, buf->buf, buf->wpos, &dst);
+ ret = send_packet(nbr->iface, buf, &dst);
done:
ibuf_free(buf);
return (ret);