psd: style: remove braces for single statements in ifs

This commit is contained in:
Jan Engelhardt
2009-08-16 12:40:44 +02:00
parent 65a257a67d
commit efd4c91557
2 changed files with 14 additions and 24 deletions

View File

@@ -139,12 +139,10 @@ xt_psd_match(const struct sk_buff *pskb, const struct xt_match_param *match)
src_port = tcph->source;
dest_port = tcph->dest;
if (proto == IPPROTO_TCP) {
if (proto == IPPROTO_TCP)
tcp_flags = *((u_int8_t*)tcph + 13);
}
else {
else
tcp_flags = 0x00;
}
/* We're using IP address 0.0.0.0 for a special purpose here, so don't let
* them spoof us. [DHCP needs this feature - HW] */