From 6b9c3b04d0b7af28e22cebc656403319b0064ebc Mon Sep 17 00:00:00 2001 From: denis Date: Wed, 11 Dec 2019 21:33:57 +0000 Subject: Convert sendto() to sendmsg(). This makes code similar to ospfd(8). OK claudio@ deraadt@ --- usr.sbin/ospf6d/database.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ospf6d/database.c') 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 @@ -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); -- cgit v1.2.3