Menu

#1 fix compilation for iptables-1.3.1

open
nobody
None
5
2013-01-28
2005-03-31
No

Not sure when iptables introduced the revision value
into struct iptables_match, but whenever it was, it
caused iptables-p2p compilation to die.
The fix is unbelievably easy -- see diff below. Note
that you'll probably need to use -p1 to cull the first
directory level.

--- iptables-p2p-0.3.0a/iptables/libipt_p2p.c
2004-02-29 10:53:13.000000000 +1000
+++ iptables-p2p-0.3.0a-ted/iptables/libipt_p2p.c
2005-03-31 19:37:03.000000000 +1000
@@ -70,6 +70,7 @@
{
NULL,
"p2p",
+ 0,
IPTABLES_VERSION,
IPT_ALIGN(sizeof(struct ipt_p2p_info)),
IPT_ALIGN(sizeof(struct ipt_p2p_info)),

Discussion

  • Ted Percival

    Ted Percival - 2005-03-31

    Logged In: YES
    user_id=1011928

    The spaces in that were collapsed which effectively
    destroyed the diff. See attached diff.

     
  • Ted Percival

    Ted Percival - 2005-03-31

    diff

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.