Skip to content

Commit

Permalink
Correct wrap_save() parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldx committed May 13, 2012
1 parent d9c89fb commit 07a6932
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libxtwrapper/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ int wrap_parse(int (*fn)(), int i, char **argv, int inv, unsigned int *flags,
return rv;
}

struct xt_entry_match;
void wrap_save(int (*fn)(), const void *ip, const struct xt_entry_match *match)
struct ipt_ip;
void wrap_save(int (*fn)(), const struct ipt_ip *ip, const void *m)
{
fn(ip, match);
fn(ip, m);
fflush(stdout);
}

0 comments on commit 07a6932

Please sign in to comment.