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
0fbafe44
Commit
0fbafe44
authored
Nov 29, 1998
by
Phil Blundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make --tcp and similar options behave sensibly.
parent
4eec9b72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
netstat.c
netstat.c
+5
-2
No files found.
netstat.c
View file @
0fbafe44
...
...
@@ -7,7 +7,7 @@
* NET-3 Networking Distribution for the LINUX operating
* system.
*
* Version: $Id: netstat.c,v 1.1
1 1998/11/18 13:46:16
philip Exp $
* Version: $Id: netstat.c,v 1.1
2 1998/11/29 13:29:11
philip Exp $
*
* Authors: Fred Baumgarten, <dc6iq@insu1.etec.uni-karlsruhe.de>
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
...
...
@@ -1281,9 +1281,12 @@ int main
if
(
flag_int
+
flag_rou
+
flag_nlp
+
flag_mas
>
1
)
usage
();
if
(
flag_inet
||
flag_inet6
)
if
(
(
flag_inet
||
flag_inet6
)
&&
!
(
flag_tcp
||
flag_udp
||
flag_raw
)
)
flag_tcp
=
flag_udp
=
flag_raw
=
1
;
if
((
flag_tcp
||
flag_udp
||
flag_raw
)
&&
!
(
flag_inet
||
flag_inet6
))
flag_inet
=
flag_inet6
=
1
;
flag_arg
=
flag_tcp
+
flag_udp
+
flag_raw
+
flag_unx
+
flag_ipx
+
flag_ax25
+
flag_netrom
;
...
...
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