From 6781da6bfba48607539c2c6057cfff91ecdc948c Mon Sep 17 00:00:00 2001 From: Bart De Schuymer Date: Sat, 17 Aug 2002 09:14:07 +0000 Subject: *** empty log message *** --- userspace/ebtables2/ebtables.c | 22 +++++++++++----------- userspace/ebtables2/extensions/ebt_ip.c | 4 ++-- userspace/ebtables2/extensions/ebt_nat.c | 2 +- userspace/ebtables2/extensions/ebt_redirect.c | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) (limited to 'userspace') diff --git a/userspace/ebtables2/ebtables.c b/userspace/ebtables2/ebtables.c index 5e13061..fd4a551 100644 --- a/userspace/ebtables2/ebtables.c +++ b/userspace/ebtables2/ebtables.c @@ -791,18 +791,18 @@ static void print_help() "ebtables -[LFZ] [chain]\n" "ebtables -[b] [y,n]\n" "Commands:\n" -"--append -A chain : Append to chain\n" -"--delete -D chain : Delete matching rule from chain\n" -"--delete -D chain rulenum : Delete rule at position rulenum from chain\n" +"--append -A chain : append to chain\n" +"--delete -D chain : delete matching rule from chain\n" +"--delete -D chain rulenum : delete rule at position rulenum from chain\n" "--insert -I chain rulenum : insert rule at position rulenum in chain\n" -"--list -L [chain] : List the rules in a chain or in all chains\n" -"--flush -F [chain] : Delete all rules in chain or in all chains\n" -"--init-table : Replace the kernel table with the initial table\n" -"--zero -Z [chain] : Put counters on zero in chain or in all chains\n" -"--policy -P chain target : Change policy on chain to target\n" -"--new-chain -N chain : Create a user defined chain\n" -"--rename-chain -E old new : Rename a chain\n" -"--delete-chain -X chain : Delete a user defined chain\n" +"--list -L [chain] : list the rules in a chain or in all chains\n" +"--flush -F [chain] : delete all rules in chain or in all chains\n" +"--init-table : replace the kernel table with the initial table\n" +"--zero -Z [chain] : put counters on zero in chain or in all chains\n" +"--policy -P chain target : change policy on chain to target\n" +"--new-chain -N chain : create a user defined chain\n" +"--rename-chain -E old new : rename a chain\n" +"--delete-chain -X chain : delete a user defined chain\n" "--atomic-commit file : update the kernel w/ the table contained in file\n" "--atomic-init file : put the initial kernel table into file\n" "--atomic-save file : put the current kernel table into file\n" diff --git a/userspace/ebtables2/extensions/ebt_ip.c b/userspace/ebtables2/extensions/ebt_ip.c index 4a9c8dc..ddd9944 100644 --- a/userspace/ebtables2/extensions/ebt_ip.c +++ b/userspace/ebtables2/extensions/ebt_ip.c @@ -84,13 +84,13 @@ void parse_ip_address(char *address, uint32_t *addr, uint32_t *msk) if ((p = strrchr(address, '/')) != NULL) { *p = '\0'; if (ip_mask(p + 1, (unsigned char *)msk)) - print_error("Problem with the ip mask"); + print_error("Problem with the IP mask"); } else *msk = 0xFFFFFFFF; if (undot_ip(address, (unsigned char *)addr)) - print_error("Problem with the ip address"); + print_error("Problem with the IP address"); *addr = *addr & *msk; } diff --git a/userspace/ebtables2/extensions/ebt_nat.c b/userspace/ebtables2/extensions/ebt_nat.c index d3ed74d..f25c806 100644 --- a/userspace/ebtables2/extensions/ebt_nat.c +++ b/userspace/ebtables2/extensions/ebt_nat.c @@ -205,7 +205,7 @@ static struct ebt_u_target dnat_target = final_check_d, print_d, compare, - opts_d, + opts_d }; static void _init(void) __attribute__ ((constructor)); diff --git a/userspace/ebtables2/extensions/ebt_redirect.c b/userspace/ebtables2/extensions/ebt_redirect.c index 436158e..1975435 100644 --- a/userspace/ebtables2/extensions/ebt_redirect.c +++ b/userspace/ebtables2/extensions/ebt_redirect.c @@ -95,7 +95,7 @@ static struct ebt_u_target redirect_target = final_check, print, compare, - opts, + opts }; static void _init(void) __attribute__ ((constructor)); -- cgit v1.2.3