summaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2005-02-11 23:17:50 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2005-02-11 23:17:50 +0000
commit06a411d34c04407ac70af65ee08143c9e1aeed18 (patch)
tree724461002686e6d71c8e7520702e19e9abe05df6 /sys/netgraph
parent8c6f96299610db898ba77b41f97d075bd0d82a5f (diff)
downloadsrc-test-06a411d34c04407ac70af65ee08143c9e1aeed18.tar.gz
src-test-06a411d34c04407ac70af65ee08143c9e1aeed18.zip
Notes
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_ipfw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/ng_ipfw.c b/sys/netgraph/ng_ipfw.c
index b4b421bf882d3..031a6157d2886 100644
--- a/sys/netgraph/ng_ipfw.c
+++ b/sys/netgraph/ng_ipfw.c
@@ -232,8 +232,8 @@ ng_ipfw_rcvdata(hook_p hook, item_p item)
struct ip *ip;
if (m->m_len < sizeof(struct ip) &&
- (m = m_pullup(m, sizeof(struct ip))) == NULL)
- return(EINVAL);
+ (m = m_pullup(m, sizeof(struct ip))) == NULL)
+ return (EINVAL);
ip = mtod(m, struct ip *);
@@ -298,8 +298,8 @@ ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_args *fwa, int tee)
return (ENOMEM); /* which is ignored */
if (m->m_len < sizeof(struct ip) &&
- (m = m_pullup(m, sizeof(struct ip))) == NULL)
- return(EINVAL);
+ (m = m_pullup(m, sizeof(struct ip))) == NULL)
+ return (EINVAL);
ip = mtod(m, struct ip *);
ip->ip_len = htons(ip->ip_len);