fixed spaces in print functions and loops for iptables-save
This commit is contained in:
parent
8a7b5a5ac1
commit
000887ce9d
@ -89,7 +89,7 @@ static void ts3init_set_cookie_tg_save(const void *ip, const struct xt_entry_tar
|
||||
}
|
||||
if (info->specific_options & TARGET_SET_COOKIE_RANDOM_SEED_FROM_ARGUMENT)
|
||||
{
|
||||
printf(" --random-seed");
|
||||
printf(" --random-seed ");
|
||||
for (i = 0; i < RANDOM_SEED_LEN; i++)
|
||||
{
|
||||
printf("%02X", info->random_seed[i]);
|
||||
@ -104,7 +104,7 @@ static void ts3init_set_cookie_tg_save(const void *ip, const struct xt_entry_tar
|
||||
static void ts3init_set_cookie_tg_print(const void *ip, const struct xt_entry_target *target,
|
||||
int numeric)
|
||||
{
|
||||
printf(" -j TS3INIT_SET_COOKIE ");
|
||||
printf(" -j TS3INIT_SET_COOKIE");
|
||||
ts3init_set_cookie_tg_save(ip, target);
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ static void ts3init_save(const void *ip, const struct xt_entry_match *match)
|
||||
static void ts3init_print(const void *ip, const struct xt_entry_match *match,
|
||||
int numeric)
|
||||
{
|
||||
printf(" -m ts3init ");
|
||||
printf(" -m ts3init");
|
||||
ts3init_save(ip, match);
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ static void ts3init_get_cookie_save(const void *ip, const struct xt_entry_match
|
||||
static void ts3init_get_cookie_print(const void *ip, const struct xt_entry_match *match,
|
||||
int numeric)
|
||||
{
|
||||
printf(" -m ts3init_get_cookie ");
|
||||
printf(" -m ts3init_get_cookie");
|
||||
ts3init_get_cookie_save(ip, match);
|
||||
}
|
||||
|
||||
@ -129,4 +129,3 @@ static __attribute__((constructor)) void ts3init_mt_ldr(void)
|
||||
{
|
||||
xtables_register_matches(ts3init_mt_reg, ARRAY_SIZE(ts3init_mt_reg));
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,7 @@ static void ts3init_get_puzzle_save(const void *ip, const struct xt_entry_match
|
||||
}
|
||||
if (info->specific_options & CHK_GET_PUZZLE_RANDOM_SEED_FROM_ARGUMENT)
|
||||
{
|
||||
printf(" --random-seed");
|
||||
printf(" --random-seed ");
|
||||
for (i = 0; i < RANDOM_SEED_LEN; i++)
|
||||
{
|
||||
printf("%02X", info->random_seed[i]);
|
||||
@ -126,7 +126,7 @@ static void ts3init_get_puzzle_save(const void *ip, const struct xt_entry_match
|
||||
static void ts3init_get_puzzle_print(const void *ip, const struct xt_entry_match *match,
|
||||
int numeric)
|
||||
{
|
||||
printf(" -m ts3init_get_puzzle ");
|
||||
printf(" -m ts3init_get_puzzle");
|
||||
ts3init_get_puzzle_save(ip, match);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user