diff options
author | rusty <rusty> | 2000-03-20 07:03:28 +0000 |
---|---|---|
committer | rusty <rusty> | 2000-03-20 07:03:28 +0000 |
commit | 03d3d33397da4fea028a55c5adbd65facf293660 (patch) | |
tree | 0e89f4764091ddd97f6c18e7033060501f72fe3c /extensions/libipt_TOS.c | |
parent | 5c306289b8a78a060a12eba5cd86e0efc3533da0 (diff) |
Makefile fixes for release.svn_t_nf-post-merge-1-0-0alpha
Whitespace cleanups.
Diffstat (limited to 'extensions/libipt_TOS.c')
-rw-r--r-- | extensions/libipt_TOS.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/libipt_TOS.c b/extensions/libipt_TOS.c index 4a8e91b..f01fc26 100644 --- a/extensions/libipt_TOS.c +++ b/extensions/libipt_TOS.c @@ -31,7 +31,7 @@ static void help(void) { unsigned int i; - + printf( "TOS target v%s options:\n" " --set-tos value Set Type of Service field to one of the\n" @@ -100,7 +100,7 @@ parse(int c, char **argv, int invert, unsigned int *flags, parse_tos(optarg, tosinfo); *flags = 1; break; - + default: return 0; } @@ -120,7 +120,7 @@ static void print_tos(u_int8_t tos, int numeric) { unsigned int i; - + if (!numeric) { for (i = 0; i<sizeof(TOS_values)/sizeof(struct TOS_value); i++) if (TOS_values[i].TOS == tos) { @@ -140,7 +140,7 @@ print(const struct ipt_ip *ip, const struct ipt_tos_target_info *tosinfo = (const struct ipt_tos_target_info *)target->data; printf("TOS set "); - print_tos(tosinfo->tos, numeric); + print_tos(tosinfo->tos, numeric); } /* Saves the union ipt_targinfo in parsable form to stdout. */ @@ -149,8 +149,8 @@ save(const struct ipt_ip *ip, const struct ipt_entry_target *target) { const struct ipt_tos_target_info *tosinfo = (const struct ipt_tos_target_info *)target->data; - - printf("--set-tos 0x%02x ", tosinfo->tos); + + printf("--set-tos 0x%02x ", tosinfo->tos); } struct iptables_target tos |