projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f070ec0
)
Ashwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 netmask...
author
Rob Landley
<rob@landley.net>
Mon, 23 Dec 2013 02:15:54 +0000
(20:15 -0600)
committer
Rob Landley
<rob@landley.net>
Mon, 23 Dec 2013 02:15:54 +0000
(20:15 -0600)
toys/other/ifconfig.c
patch
|
blob
|
history
diff --git
a/toys/other/ifconfig.c
b/toys/other/ifconfig.c
index
38d2f64
..
59d1574
100644
(file)
--- a/
toys/other/ifconfig.c
+++ b/
toys/other/ifconfig.c
@@
-478,7
+478,7
@@
void ifconfig_main(void)
// Is this an SIOCSI entry?
if ((off|0xff) == 0x89ff) {
if (!rev) {
- if (!*++argv)
show_help(
);
+ if (!*++argv)
error_exit("%s needs argument", t->name
);
// Assign value to ifre field and call ioctl? (via IFREQ_OFFSZ.)
if (on < 0) {