Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22170
b: refs/heads/master
c: aa83c1a
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Mar 21, 2006
1 parent c71f6b7 commit 9997fba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d5cd90976fa0d1cc21554b9d43f5c517323ebfc
refs/heads/master: aa83c1ab4384c0905527c84e5135a56daa885834
2 changes: 2 additions & 0 deletions trunk/net/ipv4/netfilter/arp_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,11 +1143,13 @@ void arpt_unregister_table(struct arpt_table *table)
/* The built-in targets: standard (NULL) and error. */
static struct arpt_target arpt_standard_target = {
.name = ARPT_STANDARD_TARGET,
.targetsize = sizeof(int),
};

static struct arpt_target arpt_error_target = {
.name = ARPT_ERROR_TARGET,
.target = arpt_error,
.targetsize = ARPT_FUNCTION_MAXNAMELEN,
};

static struct nf_sockopt_ops arpt_sockopts = {
Expand Down
12 changes: 6 additions & 6 deletions trunk/net/ipv4/netfilter/arpt_mangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ checkentry(const char *tablename, const void *e, void *targinfo,
return 1;
}

static struct arpt_target arpt_mangle_reg
= {
.name = "mangle",
.target = target,
.checkentry = checkentry,
.me = THIS_MODULE,
static struct arpt_target arpt_mangle_reg = {
.name = "mangle",
.target = target,
.targetsize = sizeof(struct arpt_mangle),
.checkentry = checkentry,
.me = THIS_MODULE,
};

static int __init init(void)
Expand Down

0 comments on commit 9997fba

Please sign in to comment.