Commit a50af074 authored by Pekka Pessi's avatar Pekka Pessi

Fixed address scoping error in stun_mini.c.

darcs-hash:20060411181855-65a35-0f9dcdca8c7f9c98f57e7b9847343e9a7f42d98f.gz
parent 138e15ba
......@@ -269,10 +269,10 @@ int process_3489_request(stun_mini_t *mini,
for (changed = mini->sockets; changed; changed = changed->ss_next) {
sin2 = changed->ss_addr.sin;
if (scope != LI_SCOPE_HOST && ss->ss_scope == LI_SCOPE_HOST)
if (scope != LI_SCOPE_HOST && changed->ss_scope == LI_SCOPE_HOST)
continue;
if (scope != LI_SCOPE_SITE && ss->ss_scope == LI_SCOPE_SITE)
if (scope != LI_SCOPE_SITE && changed->ss_scope == LI_SCOPE_SITE)
continue;
if (same_scope == NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment