brbzull0 commented on code in PR #11355:
URL: https://github.com/apache/trafficserver/pull/11355#discussion_r1601218511


##########
src/iocore/net/UnixUDPNet.cc:
##########
@@ -97,7 +97,7 @@ UDPPacket::new_UDPPacket(struct sockaddr const *to, 
ink_hrtime when, Ptr<IOBuffe
   p->p.segment_size = segment_size;
 #ifdef HAVE_SO_TXTIME
   if (send_at_hint) {
-    memcpy(&p->p.send_at, &send_at_hint, sizeof(struct timespec));
+    memcpy(&p->p.send_at, send_at_hint, sizeof(struct timespec));

Review Comment:
   Ohh!! this a very good catch.
   Must have done some refactor before pushing this and let this slide!! 
   
   Please split this into a different PR just in case.
   @freak82  thanks for finding and making a PR to fix this!!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to