Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160486531
D37732.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.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
Fri, Jun 26, 12:34 AM (1 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34308616
Default Alt Text
D37732.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