summaryrefslogtreecommitdiffstats
path: root/src/state_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state_helper.c')
-rw-r--r--src/state_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state_helper.c b/src/state_helper.c
index eba9d8f..de4cf48 100644
--- a/src/state_helper.c
+++ b/src/state_helper.c
@@ -35,10 +35,10 @@ int state_helper_verdict(int type, struct nf_conntrack *ct)
return ST_H_REPLICATE;
}
-void state_helper_register(struct state_replication_helper *h, int state)
+void state_helper_register(struct state_replication_helper *h, int h_state)
{
if (helper[h->proto] == NULL)
helper[h->proto] = h;
- helper[h->proto]->state |= (1 << state);
+ helper[h->proto]->state |= (1 << h_state);
}