mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
Print unp_path for unix domain sockets. OK kn@ mvs@
This commit is contained in:
parent
23ea57c6c3
commit
4b5653621b
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: fstat.c,v 1.99 2019/02/05 02:17:32 deraadt Exp $ */
|
||||
/* $OpenBSD: fstat.c,v 1.100 2020/08/21 22:13:15 millert Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Todd C. Miller <millert@openbsd.org>
|
||||
@ -805,6 +805,8 @@ socktrans(struct kinfo_file *kf)
|
||||
hide((void *)(uintptr_t)kf->unp_conn);
|
||||
}
|
||||
}
|
||||
if (kf->unp_path[0] != '\0')
|
||||
printf(" %s", kf->unp_path);
|
||||
break;
|
||||
case AF_MPLS:
|
||||
/* print protocol number and socket address */
|
||||
|
Loading…
Reference in New Issue
Block a user