|
@@ -1118,9 +1118,9 @@ inet_sendto(int s, const void *msg, size_t len, int flags,
|
1118
|
1118
|
case EMSGSIZE:
|
1119
|
1119
|
error("Packet artificially fragmented: %d", stderr);
|
1120
|
1120
|
error("\nData Length: %u", len);
|
1121
|
|
- inet_send(s, msg, len/2, flags);
|
1122
|
|
- err=inet_send(s, (const char *)msg+(len/2),
|
1123
|
|
- len-(len/2), flags);
|
|
1121
|
+ inet_sendto(s, msg, len/2, flags, to, tolen);
|
|
1122
|
+ err=inet_sendto(s, (const char *)msg+(len/2),
|
|
1123
|
+ len-(len/2), flags, to, tolen);
|
1124
|
1124
|
error("\nsendto error after fragmention is: %d, err is: %d\n", errno, err);
|
1125
|
1125
|
break;
|
1126
|
1126
|
case EFAULT:
|