owasp-modsecurity / ModSecurity-nginx

ModSecurity v3 Nginx Connector
Apache License 2.0
1.59k stars 282 forks source link

Fixed obtaining of server_addr #168

Closed defanator closed 4 years ago

defanator commented 5 years ago

Closes #167.

While here, adjusted related code to use nginx own macros instead of direct functions (htons, inet_ntoa).

zimmerle commented 4 years ago

Merged under dev/reload.

zimmerle commented 4 years ago

Merged on master! thanks!