fix IPv6 listen socket handling while reconfiguring
This commit is contained in:
parent
bd8b974fce
commit
1796c210b5
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ ngx_cmp_sockaddr(struct sockaddr *sa1, struct sockaddr *sa2)
|
|||
sin61 = (struct sockaddr_in6 *) sa1;
|
||||
sin62 = (struct sockaddr_in6 *) sa2;
|
||||
|
||||
if (sin61->sin6_port != sin61->sin6_port) {
|
||||
if (sin61->sin6_port != sin62->sin6_port) {
|
||||
return NGX_DECLINED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue