aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2012-09-24 17:34:30 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2012-09-24 17:34:30 +0000
commit26dd50684ed522037466c132b13c668b5d6acbff (patch)
treeddb52840d3346c53f00ece922126d895c59f4c10 /sbin/ipfw
parent7e00325dff1e77cfa240a4c42ed74947e481b27b (diff)
downloadsrc-26dd50684ed522037466c132b13c668b5d6acbff.tar.gz
src-26dd50684ed522037466c132b13c668b5d6acbff.zip
Whitespace fixes
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=240893
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipv6.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sbin/ipfw/ipv6.c b/sbin/ipfw/ipv6.c
index 82710800366b..6326590a46af 100644
--- a/sbin/ipfw/ipv6.c
+++ b/sbin/ipfw/ipv6.c
@@ -336,21 +336,21 @@ fill_ip6(ipfw_insn_ip6 *cmd, char *av)
* Note d[1] points to struct in6_add r mask6 of cmd
*/
- cmd->o.len &= ~F_LEN_MASK; /* zero len */
+ cmd->o.len &= ~F_LEN_MASK; /* zero len */
- if (strcmp(av, "any") == 0)
- return (1);
+ if (strcmp(av, "any") == 0)
+ return (1);
- if (strcmp(av, "me") == 0) { /* Set the data for "me" opt*/
- cmd->o.len |= F_INSN_SIZE(ipfw_insn);
- return (1);
- }
+ if (strcmp(av, "me") == 0) { /* Set the data for "me" opt*/
+ cmd->o.len |= F_INSN_SIZE(ipfw_insn);
+ return (1);
+ }
- if (strcmp(av, "me6") == 0) { /* Set the data for "me" opt*/
- cmd->o.len |= F_INSN_SIZE(ipfw_insn);
- return (1);
- }
+ if (strcmp(av, "me6") == 0) { /* Set the data for "me" opt*/
+ cmd->o.len |= F_INSN_SIZE(ipfw_insn);
+ return (1);
+ }
if (strncmp(av, "table(", 6) == 0) {
char *p = strchr(av + 6, ',');
@@ -368,8 +368,8 @@ fill_ip6(ipfw_insn_ip6 *cmd, char *av)
return (1);
}
- av = strdup(av);
- while (av) {
+ av = strdup(av);
+ while (av) {
/*
* After the address we can have '/' indicating a mask,
* or ',' indicating another address follows.