#include <trbnet.h>
#include <trberror.h>
-static const char trbdhcp_version[] = "$Revision: 1.3 $";
+static const char trbdhcp_version[] = "$Revision: 1.4 $";
typedef struct {
uint16_t address;
{
FILE* configFile = NULL;
char *line = NULL;
- int lineLen = 0;
+ size_t lineLen = 0;
unsigned int lineCtr = 0;
unsigned int counter = 0;
uint32_t address;
}
/* Open ports */
-#ifndef TRB_RPC
init_ports();
-#else
- trb_connect(NULL);
-#endif
/* Read present UIDs */
status = trb_read_uid(trbAddress, trbBuffer,