Browse Source

oops, missed one renamed variable if IPv6 is not available

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1738 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.14
Jan Kneschke 15 years ago
parent
commit
fb816f768b
  1. 2
      src/mod_extforward.c

2
src/mod_extforward.c

@ -421,7 +421,7 @@ URIHANDLER_FUNC(mod_extforward_uri_handler) {
}
#else
sock.ipv4.sin_addr.s_addr = inet_addr(real_remote_addr);
sock.plain.sa_family = (s.ipv4.sin_addr.s_addr == 0xFFFFFFFF) ? AF_UNSPEC : AF_INET;
sock.plain.sa_family = (sock.ipv4.sin_addr.s_addr == 0xFFFFFFFF) ? AF_UNSPEC : AF_INET;
#endif
if (sock.plain.sa_family != AF_UNSPEC) {
/* we found the remote address, modify current connection and save the old address */

Loading…
Cancel
Save