Skip to content

Commit

Permalink
Merge pull request #21 from delphix/master
Browse files Browse the repository at this point in the history
Merge branch 'master' into '6.0/stage'
  • Loading branch information
jgallag88 authored Mar 24, 2021
2 parents 456df1c + a7301b1 commit 2c94e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ptools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ fn print_file(pid: u64, fd: u64, sockets: &HashMap<u64, SockInfo>) {
// any info for the socket in procfs.
// TODO make sure we are displaying information that is for the correct namespace
// TODO handle IPv6
if let Some(sock_info) = sockets.get(&stat_info.st_ino) {
if let Some(sock_info) = sockets.get(&(stat_info.st_ino as u64)) {
print_sock_type(&sock_info.sock_type);
print_sock_address(&sock_info);
} else {
Expand Down

0 comments on commit 2c94e55

Please sign in to comment.