diff -ru ipp2p-0.8.2/ipt_ipp2p.c ipp2p-0.8.2-folke/ipt_ipp2p.c
--- ipp2p-0.8.2/ipt_ipp2p.c	2006-09-27 11:52:00.000000000 +0200
+++ ipp2p-0.8.2-folke/ipt_ipp2p.c	2007-05-16 08:25:26.000000000 +0200
@@ -831,7 +831,9 @@
            const struct ipt_ip *ip,
 #endif
 	   void *matchinfo,
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
 	   unsigned int matchsize,
+#endif
 	   unsigned int hook_mask)
 {
         /* Must specify -p tcp */
@@ -880,12 +882,20 @@
 static int __init init(void)
 {
     printk(KERN_INFO "IPP2P v%s loading\n", IPP2P_VERSION);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
+    return xt_register_match(&ipp2p_match);
+#else
     return ipt_register_match(&ipp2p_match);
+#endif
 }
 	
 static void __exit fini(void)
 {
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
+    xt_unregister_match(&ipp2p_match);
+#else
     ipt_unregister_match(&ipp2p_match);
+#endif
     printk(KERN_INFO "IPP2P v%s unloaded\n", IPP2P_VERSION);    
 }
 	
