From 82732f965ccbc70641e2ce5e9dba8e0ced64aeba Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 13 Jun 2023 00:38:46 -0400 Subject: Replace msgh_kind with msgh_seqno msgh_kind is deprecated and is an alias to msgh_seqno. Message-Id: --- eth-multiplexer/vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth-multiplexer/vdev.c') diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c index f441803d..62042ee6 100644 --- a/eth-multiplexer/vdev.c +++ b/eth-multiplexer/vdev.c @@ -276,7 +276,7 @@ deliver_msg(struct net_rcv_msg *msg, struct vether_device *vdev) msg->msg_hdr.msgh_bits = MACH_MSGH_BITS (MACH_MSG_TYPE_COPY_SEND, 0); /* remember message sizes must be rounded up */ msg->msg_hdr.msgh_local_port = MACH_PORT_NULL; - msg->msg_hdr.msgh_kind = MACH_MSGH_KIND_NORMAL; + msg->msg_hdr.msgh_seqno = 0; msg->msg_hdr.msgh_id = NET_RCV_MSG_ID; if_port_list = &vdev->port_list.if_rcv_port_list; -- cgit v1.2.3