#define DEBUG 0
#define VERSION VER2(0,10)
#include <acess.h>
-#include <tpl_drv_common.h>
+#include <api_drv_common.h>
#include "ipstack.h"
#include "link.h"
}
{
- int len = sprintf(NULL, "%i", rt->Node.Inode);
+ int len = sprintf(NULL, "%i", (int)rt->Node.Inode);
char buf[len+1];
- sprintf(buf, "%i", rt->Node.Inode);
+ sprintf(buf, "%i", (int)rt->Node.Inode);
return strdup(buf);
}
}
{
rt = &Interface->Route;
// Make sure route is up to date
- memcpy(rt->Network, iface->Address, addrSize);
+ memcpy(rt->Network, Interface->Address, addrSize);
memset(rt->NextHop, 0, addrSize);
rt->Metric = DEFAUTL_METRIC;
- rt->SubnetBits = iface->SubnetBits;
+ rt->SubnetBits = Interface->SubnetBits;
if( IPStack_CompareAddress(AddressType, rt->Network, Address, rt->SubnetBits) )
{