aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-02-26 13:58:59 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-02-26 13:58:59 +0100
commitc472898eaa0ccc1d4d787ae1917a8f40d18889cb (patch)
treeb59b01d8fda6de785d3bd21a7b8c98b353ae2193
parent589051b56553788546c757a0b38996a1a8c49a11 (diff)
downloadbusybox-c472898eaa0ccc1d4d787ae1917a8f40d18889cb.tar.gz
nc: fix option bit positions. Closes 6926
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/nc_bloaty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c
index b9eff3da4..b28d05f51 100644
--- a/networking/nc_bloaty.c
+++ b/networking/nc_bloaty.c
@@ -175,9 +175,9 @@ enum {
OPT_w = (1 << 5),
OPT_l = (1 << 6) * ENABLE_NC_SERVER,
OPT_k = (1 << 7) * ENABLE_NC_SERVER,
- OPT_i = (1 << (7+2*ENABLE_NC_SERVER)) * ENABLE_NC_EXTRA,
- OPT_o = (1 << (8+2*ENABLE_NC_SERVER)) * ENABLE_NC_EXTRA,
- OPT_z = (1 << (9+2*ENABLE_NC_SERVER)) * ENABLE_NC_EXTRA,
+ OPT_i = (1 << (6+2*ENABLE_NC_SERVER)) * ENABLE_NC_EXTRA,
+ OPT_o = (1 << (7+2*ENABLE_NC_SERVER)) * ENABLE_NC_EXTRA,
+ OPT_z = (1 << (8+2*ENABLE_NC_SERVER)) * ENABLE_NC_EXTRA,
};
#define o_nflag (option_mask32 & OPT_n)