diff options
author | maxim <maxim@FreeBSD.org> | 2008-10-14 17:47:29 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2008-10-14 17:47:29 +0000 |
commit | 183bdc8e412a5455dbf90bf8e5fc7d62e9ad19d4 (patch) | |
tree | ba0f076e50a9206c243da4967269db248860d553 /sys/netinet | |
parent | fdfb3870dc8d84203890d73ec2c504fc202b4e1d (diff) | |
download | FreeBSD-src-183bdc8e412a5455dbf90bf8e5fc7d62e9ad19d4.zip FreeBSD-src-183bdc8e412a5455dbf90bf8e5fc7d62e9ad19d4.tar.gz |
o Remove unnecessary parentheses and restore identation.
Prodded by: mlaier
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_fw2.c | 56 |
1 files changed, 24 insertions, 32 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 9d460ef..64903ea 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -4385,50 +4385,42 @@ ipfw_ctl(struct sockopt *sopt) break; case IP_FW_NAT_CFG: - { - if (IPFW_NAT_LOADED) - error = ipfw_nat_cfg_ptr(sopt); - else { - printf("IP_FW_NAT_CFG: %s\n", - "ipfw_nat not present, please load it"); - error = EINVAL; - } + if (IPFW_NAT_LOADED) + error = ipfw_nat_cfg_ptr(sopt); + else { + printf("IP_FW_NAT_CFG: %s\n", + "ipfw_nat not present, please load it"); + error = EINVAL; } break; case IP_FW_NAT_DEL: - { - if (IPFW_NAT_LOADED) - error = ipfw_nat_del_ptr(sopt); - else { - printf("IP_FW_NAT_DEL: %s\n", - "ipfw_nat not present, please load it"); - error = EINVAL; - } + if (IPFW_NAT_LOADED) + error = ipfw_nat_del_ptr(sopt); + else { + printf("IP_FW_NAT_DEL: %s\n", + "ipfw_nat not present, please load it"); + error = EINVAL; } break; case IP_FW_NAT_GET_CONFIG: - { - if (IPFW_NAT_LOADED) - error = ipfw_nat_get_cfg_ptr(sopt); - else { - printf("IP_FW_NAT_GET_CFG: %s\n", - "ipfw_nat not present, please load it"); - error = EINVAL; - } + if (IPFW_NAT_LOADED) + error = ipfw_nat_get_cfg_ptr(sopt); + else { + printf("IP_FW_NAT_GET_CFG: %s\n", + "ipfw_nat not present, please load it"); + error = EINVAL; } break; case IP_FW_NAT_GET_LOG: - { - if (IPFW_NAT_LOADED) - error = ipfw_nat_get_log_ptr(sopt); - else { - printf("IP_FW_NAT_GET_LOG: %s\n", - "ipfw_nat not present, please load it"); - error = EINVAL; - } + if (IPFW_NAT_LOADED) + error = ipfw_nat_get_log_ptr(sopt); + else { + printf("IP_FW_NAT_GET_LOG: %s\n", + "ipfw_nat not present, please load it"); + error = EINVAL; } break; |