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
590aeaa5
Commit
590aeaa5
authored
Nov 01, 2001
by
Bernd Eckenfels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix to return E_USAGE on -V instead of exit(0);
parent
234b63a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ifconfig.c
ifconfig.c
+2
-2
No files found.
ifconfig.c
View file @
590aeaa5
...
...
@@ -3,7 +3,7 @@
* that either displays or sets the characteristics of
* one or more of the system's networking interfaces.
*
* Version: $Id: ifconfig.c,v 1.5
2 2001/11/01 01:48:31
ecki Exp $
* Version: $Id: ifconfig.c,v 1.5
3 2001/11/01 01:54:49
ecki Exp $
*
* Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
* and others. Copyright 1993 MicroWalt Corporation
...
...
@@ -234,7 +234,7 @@ static void usage(void)
static
void
version
(
void
)
{
fprintf
(
stderr
,
"%s
\n
%s
\n
"
,
Release
,
Version
);
exit
(
0
);
exit
(
E_USAGE
);
}
static
int
set_netmask
(
int
skfd
,
struct
ifreq
*
ifr
,
struct
sockaddr
*
sa
)
...
...
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