mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-26 11:23:08 +08:00
Fixed bug in client getting local ip
This commit is contained in:
@@ -118,6 +118,7 @@ char* getLocalIpAddress(){
|
||||
if(strcmp(ifa->ifa_name, buf)==0){
|
||||
//Interface we chose
|
||||
printf("["KBLU"INFO"RESET"]""Attacker IP selected: %s (%s)\n", ifa->ifa_name, host);
|
||||
strcpy(IPbuffer, host);
|
||||
return IPbuffer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user