summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_masq_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ip_masq_mod.c')
-rw-r--r--net/ipv4/ip_masq_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_masq_mod.c b/net/ipv4/ip_masq_mod.c
index 2265161f3..f6a50dfc6 100644
--- a/net/ipv4/ip_masq_mod.c
+++ b/net/ipv4/ip_masq_mod.c
@@ -275,7 +275,7 @@ struct ip_masq_mod * ip_masq_mod_getbyname(const char *mmod_name)
IP_MASQ_DEBUG(1, "searching mmod_name \"%s\"\n", mmod_name);
- for (mmod=ip_masq_mod_reg_base; mmod ; mmod=mmod->next) {
+ for (mmod=ip_masq_mod_reg_base; mmod ; mmod=mmod->next_reg) {
if (mmod->mmod_ctl && *(mmod_name)
&& (strcmp(mmod_name, mmod->mmod_name)==0)) {
/* HIT */