Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 120001 Details for
Bug 179425
net-firewall/ipp2p-0.8.2-r2 doesn't work with kernel 2.6.21
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Changes ipt_*_match to xt_*_match
ipp2p.ipt-xt.patch (text/plain), 1.25 KB, created by
Federico Cuello
on 2007-05-22 13:32:39 UTC
(
hide
)
Description:
Changes ipt_*_match to xt_*_match
Filename:
MIME Type:
Creator:
Federico Cuello
Created:
2007-05-22 13:32:39 UTC
Size:
1.25 KB
patch
obsolete
>--- ipt_ipp2p.c.orig 2007-05-22 10:15:29.000000000 -0300 >+++ ipt_ipp2p.c 2007-05-22 10:15:56.000000000 -0300 >@@ -2,7 +2,7 @@ > #include <linux/modversions.h> > #endif > #include <linux/module.h> >-#include <linux/netfilter_ipv4/ip_tables.h> >+#include <linux/netfilter/x_tables.h> > #include <linux/version.h> > //#include <linux/netfilter_ipv4/ipt_ipp2p.h> > #include "ipt_ipp2p.h" >@@ -843,7 +843,7 @@ > } > > >-static struct ipt_match ipp2p_match = { >+static struct xt_match ipp2p_match = { > #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) > { NULL, NULL }, > "ipp2p", >@@ -854,6 +854,7 @@ > #endif > #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)) > .name = "ipp2p", >+ .family = AF_INET, > .match = &match, > .checkentry = &checkentry, > .me = THIS_MODULE, >@@ -871,12 +872,12 @@ > static int __init init(void) > { > printk(KERN_INFO "IPP2P v%s loading\n", IPP2P_VERSION); >- return ipt_register_match(&ipp2p_match); >+ return xt_register_match(&ipp2p_match); > } > > static void __exit fini(void) > { >- ipt_unregister_match(&ipp2p_match); >+ xt_unregister_match(&ipp2p_match); > printk(KERN_INFO "IPP2P v%s unloaded\n", IPP2P_VERSION); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179425
:
120001
|
120021