Fix wrong signature of fw3_xt_print_matches()
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 4 Jun 2013 11:11:53 +0000 (13:11 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 4 Jun 2013 11:11:53 +0000 (13:11 +0200)
xtables-10.h
xtables-5.h

index edd3d3a..aeb67d7 100644 (file)
@@ -126,7 +126,7 @@ fw3_xt_merge_target_options(struct xtables_globals *g, struct xtables_target *t)
 }
 
 static inline void
-fw3_xt_print_matches(void *ip, struct xtables_match **matches)
+fw3_xt_print_matches(void *ip, struct xtables_rule_match *matches)
 {
        struct xtables_rule_match *rm;
        struct xtables_match *m;
index 3522500..d7f8572 100644 (file)
@@ -89,7 +89,7 @@ fw3_xt_merge_target_options(struct xtables_globals *g, struct xtables_target *t)
 }
 
 static inline void
-fw3_xt_print_matches(void *ip, struct xtables_match **matches)
+fw3_xt_print_matches(void *ip, struct xtables_rule_match *matches)
 {
        struct xtables_rule_match *rm;
        struct xtables_match *m;