mirror of
https://github.com/JsBergbau/BindToInterface.git
synced 2025-09-10 12:40:22 -04:00
Update for x64
This commit is contained in:
parent
0e46876a79
commit
e1ef056cc0
@ -8,6 +8,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
//#define DEBUG
|
//#define DEBUG
|
||||||
|
|
||||||
@ -125,6 +126,6 @@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int ret = (int)original_connect(sockfd, addr, addrlen);
|
return (uintptr_t)original_connect(sockfd, addr, addrlen);
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user