Skip to content

Commit

Permalink
Change typechar for server sockets to 4/6
Browse files Browse the repository at this point in the history
The documentation of fd.typechar doesn't distinguish between server
sockets and non-server sockets, so simplify things by simply using
'4'/'6' to reflect the ipv4/ipv6 type.
  • Loading branch information
mstemm committed Aug 20, 2018
1 parent 21e510f commit 86301b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userspace/libsinsp/fdinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class sinsp_protodecoder;
#define CHAR_FD_IPV4_SOCK '4'
#define CHAR_FD_IPV6_SOCK '6'
#define CHAR_FD_DIRECTORY 'd'
#define CHAR_FD_IPV4_SERVSOCK '2'
#define CHAR_FD_IPV6_SERVSOCK '3'
#define CHAR_FD_IPV4_SERVSOCK '4'
#define CHAR_FD_IPV6_SERVSOCK '6'
#define CHAR_FD_FIFO 'p'
#define CHAR_FD_UNIX_SOCK 'u'
#define CHAR_FD_EVENT 'e'
Expand Down

0 comments on commit 86301b0

Please sign in to comment.