diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-03-20 07:03:28 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-03-20 07:03:28 +0000 |
commit | 7e53bf9c2a697abdb6f1385557338423a86612a3 (patch) | |
tree | 0e89f4764091ddd97f6c18e7033060501f72fe3c /extensions/libipt_TOS.c | |
parent | e6869a8f59d779ff4d5a0984c86d80db70784962 (diff) |
Makefile fixes for release.v1.0.0-alpha
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 4a8e91ba..f01fc264 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 |