Update bindToInterface.c

This commit is contained in:
JsBergbau 2023-10-24 09:44:52 +02:00 committed by GitHub
parent ba03ce7d85
commit 9efe46c658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
}
if(!(source_ip_env != NULL && strlen(source_ip_env) > 0) && !(bind_addr_env != NULL && strlen(bind_addr_env) > 0)){
printf("Warning: Programm with LD_PRELOAD startet, but BIND_INTERFACE environment variable not set\n");
printf("Warning: Programm with LD_PRELOAD started, but BIND_INTERFACE environment variable not set\n");
fprintf(stderr, "Warning: Programm with LD_PRELOAD startet, but BIND_INTERFACE environment variable not set\n");
}
}