aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2001-12-14 19:33:29 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2001-12-14 19:33:29 +0000
commit6f00486cfdfe18ea3510804d230b93ed3342cdc4 (patch)
treef16d23144fb2b8f057295cad1125adf86eb0b21a /sys/netinet
parenteffa274e9e1b65dd846f803114e9dfebf5ad808b (diff)
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 475b837829fd..51f2396fb5f4 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -450,20 +450,21 @@ iphack:
* See the comment in ip_output for the return values
* produced by the firewall.
*/
- i = ip_fw_chk_ptr(&ip,
- hlen, NULL, &divert_cookie, &m, &rule, &ip_fw_fwd_addr);
+ i = ip_fw_chk_ptr(&ip, hlen, NULL,
+ &divert_cookie, &m, &rule, &ip_fw_fwd_addr);
if (i & IP_FW_PORT_DENY_FLAG) { /* XXX new interface-denied */
- if (m)
- m_freem(m);
- return ;
+ if (m)
+ m_freem(m);
+ return;
}
if (m == NULL) { /* Packet discarded by firewall */
- static int __debug=10;
- if (__debug >0) {
- printf("firewall returns NULL, please update!\n");
- __debug-- ;
- }
- return;
+ static int __debug=10;
+ if (__debug > 0) {
+ printf(
+ "firewall returns NULL, please update!\n");
+ __debug--;
+ }
+ return;
}
if (i == 0 && ip_fw_fwd_addr == NULL) /* common case */
goto pass;