Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148458634
D37732.id114247.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
648 B
Referenced Files
None
Subscribers
None
D37732.id114247.diff
View Options
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c
--- a/sys/kern/kern_jail.c
+++ b/sys/kern/kern_jail.c
@@ -4919,7 +4919,7 @@
db_printf(" %s %s\n",
ii == 0 ? "ip4.addr =" : " ",
inet_ntoa_r(
- *(const struct in_addr *)PR_IP(pr, ii),
+ *(const struct in_addr *)PR_IP(pr->pr_addrs[af], ii),
ip4buf));
}
#endif
@@ -4932,7 +4932,7 @@
db_printf(" %s %s\n",
ii == 0 ? "ip6.addr =" : " ",
ip6_sprintf(ip6buf,
- (const struct in6_addr *)PR_IP(pr, ii)));
+ (const struct in6_addr *)PR_IP(pr->pr_addrs[af], ii)));
}
#endif
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 12:56 AM (7 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29935930
Default Alt Text
D37732.id114247.diff (648 B)
Attached To
Mode
D37732: jail: Fix output of IPv[46] addresses of DDB `show prison`
Attached
Detach File
Event Timeline
Log In to Comment