summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/inet.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2013-02-05 13:58:03 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2013-02-05 13:58:03 +0000
commit9ab126405989913e3609ef0eb5688bcf593c6fbc (patch)
tree0e27c2213a5747fd02fbb78811a6521d25c511cc /usr.bin/netstat/inet.c
parent49a3083396a890b3390b5c2a9793ce331da3ef00 (diff)
netstat -vP also shows the new struct sockbuf field sb_flagsintr.
OK markus@ claudio@
Diffstat (limited to 'usr.bin/netstat/inet.c')
-rw-r--r--usr.bin/netstat/inet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 6bfd62887b6..25f1a0f5fb7 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.120 2012/12/04 02:30:34 deraadt Exp $ */
+/* $OpenBSD: inet.c,v 1.121 2013/02/05 13:58:02 bluhm Exp $ */
/* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */
/*
@@ -1229,6 +1229,7 @@ sockbuf_dump(struct sockbuf *sb, const char *name)
p("%lu", sb_mbmax, ", ");
p("%ld", sb_lowat, "\n ");
printf("%s ", name);
+ p("%#0.8x", sb_flagsintr, ", ");
p("%#0.4x", sb_flags, ", ");
p("%u", sb_timeo, "\n ");
#undef p