diff options
-rw-r--r-- | sys/netinet/libalias/alias_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias_proxy.c b/sys/netinet/libalias/alias_proxy.c index d5b1b81..0d49381 100644 --- a/sys/netinet/libalias/alias_proxy.c +++ b/sys/netinet/libalias/alias_proxy.c @@ -210,13 +210,13 @@ RuleAdd(struct libalias *la, struct proxy_entry *entry) LIBALIAS_LOCK_ASSERT(la); + entry->la = la; if (la->proxyList == NULL) { la->proxyList = entry; entry->last = NULL; entry->next = NULL; return; } - entry->la = la; rule_index = entry->rule_index; ptr = la->proxyList; |