[git commit] nc: fix the !NC_SERVER configuration
Denys Vlasenko
vda.linux at googlemail.com
Thu May 24 14:38:40 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=3f91e662f21083d4febf74fa89ccc50e406cbf6c
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
The symptom is the "nc: NO OPT l!" message.
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/nc_bloaty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c
index 64098648a..42c84de45 100644
--- a/networking/nc_bloaty.c
+++ b/networking/nc_bloaty.c
@@ -791,7 +791,7 @@ int nc_main(int argc UNUSED_PARAM, char **argv)
"np:s:uvw:+"/* -w N */ IF_NC_SERVER("lk")
IF_NC_EXTRA("i:o:z")
"\0"
- "?2:vv:ll", /* max 2 params; -v and -l are counters */
+ "?2:vv"IF_NC_SERVER(":ll"), /* max 2 params; -v and -l are counters */
&str_p, &str_s, &o_wait
IF_NC_EXTRA(, &str_i, &str_o)
, &o_verbose IF_NC_SERVER(, &cnt_l)
More information about the busybox-cvs
mailing list