mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-22 17:01:46 +00:00
okay, so I will need to find another way to display an ipv4 address in a human readable format.
This commit is contained in:
parent
67b7f162ff
commit
201b69221e
@ -1109,6 +1109,7 @@ inet_sendto(int s, const void *msg, size_t len, int flags,
|
||||
const struct sockaddr * to, socklen_t tolen)
|
||||
{
|
||||
ssize_t err;
|
||||
char * ipv4_addr;
|
||||
if ((err = sendto(s, msg, len, flags, to, tolen)) == -1) {
|
||||
switch (errno) {
|
||||
case EMSGSIZE:
|
||||
@ -1117,9 +1118,6 @@ inet_sendto(int s, const void *msg, size_t len, int flags,
|
||||
len-(len/2), flags, to, tolen);
|
||||
break;
|
||||
case EFAULT:
|
||||
|
||||
char ipv4_addr;
|
||||
|
||||
error("To Family is: %hu "
|
||||
"To Data is: %s "
|
||||
"and: %s", to->sa_family,
|
||||
|
Loading…
Reference in New Issue
Block a user