X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Fudp.c;h=c75aab0cf924e16f19d40263298e8ba8e60dffd5;hb=2c3ab58b961dea91fdfbf432a7fdf9593c6e7a8e;hp=6f3abc603b19db256e68993e1e98fee0cf696902;hpb=7941d6b368acb0abc17e6a77ffaf7b4c306b67ab;p=tpg%2Facess2.git diff --git a/Modules/IPStack/udp.c b/Modules/IPStack/udp.c index 6f3abc60..c75aab0c 100644 --- a/Modules/IPStack/udp.c +++ b/Modules/IPStack/udp.c @@ -3,7 +3,7 @@ * - UDP Handling */ #include "ipstack.h" -#include +#include #include "udp.h" #define UDP_ALLOC_BASE 0xC000 @@ -257,7 +257,7 @@ Uint64 UDP_Channel_Write(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Bu data = (char*)Buffer + ofs; - UDP_SendPacketTo(chan, ep->AddrType, &ep->Addr, ep->Port, Buffer, (size_t)Length - ofs); + UDP_SendPacketTo(chan, ep->AddrType, &ep->Addr, ep->Port, data, (size_t)Length - ofs); return 0; }