Author: sbruno
Date: Thu Jun  7 15:27:07 2018
New Revision: 334788
URL: https://svnweb.freebsd.org/changeset/base/334788

Log:
  Unbreak dtrace runtime for udp after svn r334719 SO_REUSEPORT commit.
  
  Submitted by: Johannes Lundberg <johal...@gmail.com>
  Sponsored by: Limeligght Networks

Modified:
  head/cddl/lib/libdtrace/udp.d

Modified: head/cddl/lib/libdtrace/udp.d
==============================================================================
--- head/cddl/lib/libdtrace/udp.d       Thu Jun  7 15:03:47 2018        
(r334787)
+++ head/cddl/lib/libdtrace/udp.d       Thu Jun  7 15:27:07 2018        
(r334788)
@@ -58,12 +58,12 @@ translator udpsinfo_t < struct inpcb *p > {
        udps_rport =    p == NULL ? 0 : ntohs(p->inp_inc.inc_ie.ie_fport);
        udps_laddr =    p == NULL ? "" :
            p->inp_vflag == INP_IPV4 ?
-           
inet_ntoa(&p->inp_inc.inc_ie.ie_dependladdr.ie46_local.ia46_addr4.s_addr) :
-           inet_ntoa6(&p->inp_inc.inc_ie.ie_dependladdr.ie6_local);
+           
inet_ntoa(&p->inp_inc.inc_ie.ie_dependladdr.id46_addr.ia46_addr4.s_addr) :
+           inet_ntoa6(&p->inp_inc.inc_ie.ie_dependladdr.id6_addr);
        udps_raddr =    p == NULL ? "" :
            p->inp_vflag == INP_IPV4 ?
-           
inet_ntoa(&p->inp_inc.inc_ie.ie_dependfaddr.ie46_foreign.ia46_addr4.s_addr) :
-           inet_ntoa6(&p->inp_inc.inc_ie.ie_dependfaddr.ie6_foreign);
+           
inet_ntoa(&p->inp_inc.inc_ie.ie_dependfaddr.id46_addr.ia46_addr4.s_addr) :
+           inet_ntoa6(&p->inp_inc.inc_ie.ie_dependfaddr.id6_addr);
 };
 
 #pragma D binding "1.6.3" translator
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to