1 diff -ruN ipp2p-0.8.2.orig/libipt_ipp2p.c ipp2p-0.8.2/libipt_ipp2p.c
2 --- ipp2p-0.8.2.orig/libipt_ipp2p.c 2009-02-06 15:24:09.000000000 +0100
3 +++ ipp2p-0.8.2/libipt_ipp2p.c 2009-02-06 15:39:25.000000000 +0100
5 { "waste", 0, 0, 'h' },
7 { "debug", 0, 0, 'j' },
17 -struct iptables_match ipp2p=
18 +struct xtables_match ipp2p=
23 .version = IPTABLES_VERSION,
24 - .size = IPT_ALIGN(sizeof(struct ipt_p2p_info)),
25 - .userspacesize = IPT_ALIGN(sizeof(struct ipt_p2p_info)),
26 + .size = XT_ALIGN(sizeof(struct ipt_p2p_info)),
27 + .userspacesize = XT_ALIGN(sizeof(struct ipt_p2p_info)),
35 - register_match(&ipp2p);
36 + xtables_register_match(&ipp2p);