summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-06-13 00:38:46 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-06-14 14:26:27 +0200
commit82732f965ccbc70641e2ce5e9dba8e0ced64aeba (patch)
treedd5147bfddcdc4acdc226150b70c80232f09ec92
parent8db807ba2447f0c46135a1a1d38a98c95ac180b1 (diff)
Replace msgh_kind with msgh_seqno
msgh_kind is deprecated and is an alias to msgh_seqno. Message-Id: <ZIfy1sJwuhEtKSPH@jupiter.lan>
-rw-r--r--eth-multiplexer/vdev.c2
1 files changed, 1 insertions, 1 deletions
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;