Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
2e289e1a
Commit
2e289e1a
authored
Mar 17, 1999
by
Phil Blundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make netstat not display groups by default
parent
3def7f64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
man/en_US/netstat.8
man/en_US/netstat.8
+5
-0
netstat.c
netstat.c
+5
-4
No files found.
man/en_US/netstat.8
View file @
2e289e1a
...
...
@@ -101,6 +101,11 @@ Please see
.
BR
route
(
8
)
for
details
.
.
SS
"\-g, \-\-groups"
With
the
.
BR
\-
g
", "
\-\-
groups
option
,
multicast
group
membership
information
for
IPv4
and
IPv6
is
displayed
.
.
SS
"\-i, \-\-interface
\f
Iiface
\f
I"
If
you
use
the
.
BR
-
i
", "
--
interfaces
...
...
netstat.c
View file @
2e289e1a
...
...
@@ -6,7 +6,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
* Version: $Id: netstat.c,v 1.2
3 1999/03/17 13:04:57
philip Exp $
* Version: $Id: netstat.c,v 1.2
4 1999/03/17 14:00:09
philip Exp $
*
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
...
...
@@ -1572,8 +1572,8 @@ int main
if
(
flag_int
+
flag_rou
+
flag_mas
+
flag_sta
>
1
)
usage
();
if
((
flag_inet
||
flag_inet6
||
flag_sta
)
&&
!
(
flag_tcp
||
flag_udp
||
flag_raw
||
flag_igmp
))
flag_tcp
=
flag_udp
=
flag_raw
=
flag_igmp
=
1
;
if
((
flag_inet
||
flag_inet6
||
flag_sta
)
&&
!
(
flag_tcp
||
flag_udp
||
flag_raw
))
flag_tcp
=
flag_udp
=
flag_raw
=
1
;
if
((
flag_tcp
||
flag_udp
||
flag_raw
||
flag_igmp
)
&&
!
(
flag_inet
||
flag_inet6
))
flag_inet
=
flag_inet6
=
1
;
...
...
@@ -1682,7 +1682,8 @@ int main
if
(
i
)
return
(
i
);
}
if
(
!
flag_arg
||
flag_igmp
)
{
if
(
flag_igmp
)
{
#if HAVE_AFINET6
printf
(
"IPv6/"
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment