summaryrefslogtreecommitdiff
path: root/utils/rpctrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rpctrace.c')
-rw-r--r--utils/rpctrace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index 5d3b2ca0..b39b2e31 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -1286,6 +1286,10 @@ trace_and_forward (mach_msg_header_t *inp, mach_msg_header_t *outp)
{
switch (reply_type)
{
+ case MACH_MSG_TYPE_PORT_SEND:
+ rewrite_right (&inp->msgh_local_port, &reply_type, NULL);
+ break;
+
case MACH_MSG_TYPE_PORT_SEND_ONCE:;
struct send_once_info *info;
info = new_send_once_wrapper (inp->msgh_local_port,