Skip to content

Commit

Permalink
Fix mod-host patching
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jan 7, 2024
1 parent bf7edd2 commit a74bfa5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ index f6b27cc..af16cd3 100644
struct sockaddr_in serv_addr;
memset((char *) &serv_addr, 0, sizeof(serv_addr));
serv_addr.sin_family = AF_INET;
-#ifdef __MOD_DEVICES__
-#if defined(__MOD_DEVICES__) || defined(_WIN32)
- serv_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
-#else
serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
Expand Down

0 comments on commit a74bfa5

Please sign in to comment.