diff options
author | Christian Hesse <mail@eworm.de> | 2025-01-20 17:30:47 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2025-01-20 17:30:47 +0100 |
commit | 8225c6e6fdc42f96440c961f0d43e040dd9cf571 (patch) | |
tree | 1fdc7d81c3430416841a5847c0f2d5888c5bc04b | |
parent | 718e329d634b82955d332462336d5abdc9c301ef (diff) | |
download | pacredir-main.tar.gz pacredir-main.tar.zst |
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -776,7 +776,7 @@ int main(int argc, char ** argv) { /* prepare struct to make microhttpd listen on localhost only */ address.sin_family = AF_INET; address.sin_port = htons(PORT_PACREDIR); - address.sin_addr.s_addr = htonl(0x7f000001); + address.sin_addr.s_addr = htonl(INADDR_LOOPBACK); /* start http server */ if ((mhd = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION | MHD_USE_TCP_FASTOPEN, PORT_PACREDIR, |