summaryrefslogtreecommitdiff
path: root/net/trafcount/files/patch-module-trafcount.c
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-12-24 21:57:43 +0000
committerSteve Price <steve@FreeBSD.org>2001-12-24 21:57:43 +0000
commit9437748b42026ed3749546dbeab5112aec0cd8d2 (patch)
treee6b93e0f816949acc3ae8d2ebc663acd49cdfa7f /net/trafcount/files/patch-module-trafcount.c
parentSet FETCH_CMD=/usr/bin/fetch since the MASTER_SITE wants to do a redirect (diff)
Make this build again on -stable.
Notes
Notes: svn path=/head/; revision=52120
Diffstat (limited to 'net/trafcount/files/patch-module-trafcount.c')
-rw-r--r--net/trafcount/files/patch-module-trafcount.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/trafcount/files/patch-module-trafcount.c b/net/trafcount/files/patch-module-trafcount.c
new file mode 100644
index 000000000000..fbaea991023a
--- /dev/null
+++ b/net/trafcount/files/patch-module-trafcount.c
@@ -0,0 +1,20 @@
+--- module/trafcount.c.orig Mon Dec 24 15:34:22 2001
++++ module/trafcount.c Mon Dec 24 15:34:55 2001
+@@ -37,7 +37,7 @@
+ static ip_fw_chk_t *trafcount_old_chk_ptr;
+ static int trafcount_ip_fw_chk __P((struct ip **pip, int hlen,
+ struct ifnet *oif, u_int16_t *cookie, struct mbuf **m,
+- struct ip_fw_chain **flow_id,
++ struct ip_fw **flow_id,
+ struct sockaddr_in **next_hop));
+
+ LIST_HEAD(rulechain_head, rulechain) trafcount_rulechain; /* defines the rule list */
+@@ -86,7 +86,7 @@
+ static int
+ trafcount_ip_fw_chk(struct ip **pip, int hlen,
+ struct ifnet *oif, u_int16_t *cookie, struct mbuf **m,
+- struct ip_fw_chain **flow_id,
++ struct ip_fw **flow_id,
+ struct sockaddr_in **next_hop)
+ {
+ struct ip *ip = *pip;