mirror of
https://github.com/nginx/nginx.git
synced 2024-12-02 20:09:01 +08:00
fix IPv6 listen socket handling while reconfiguring
This commit is contained in:
parent
c31c38b95e
commit
ce03ba019e
@ -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 New Issue
Block a user