aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2018-06-07 15:27:07 +0000
committerSean Bruno <sbruno@FreeBSD.org>2018-06-07 15:27:07 +0000
commit8d7181d1e089a176b2c2944d98aab4774aa61e60 (patch)
treef3ba7c751ea78cb4425c6cc57fcc2534d5dfcc62 /cddl/lib
parent0fb3a72a0dd511c39ecd9e6ee5284597b97ef45f (diff)
downloadsrc-8d7181d1e089a176b2c2944d98aab4774aa61e60.tar.gz
src-8d7181d1e089a176b2c2944d98aab4774aa61e60.zip
Unbreak dtrace runtime for udp after svn r334719 SO_REUSEPORT commit.
Submitted by: Johannes Lundberg <johalun0@gmail.com> Sponsored by: Limeligght Networks
Notes
Notes: svn path=/head/; revision=334788
Diffstat (limited to 'cddl/lib')
-rw-r--r--cddl/lib/libdtrace/udp.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/cddl/lib/libdtrace/udp.d b/cddl/lib/libdtrace/udp.d
index 70652cbfce48..917baa663c71 100644
--- a/cddl/lib/libdtrace/udp.d
+++ b/cddl/lib/libdtrace/udp.d
@@ -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