- Lots of small fixes

- Exchange subnets on acknowledgement of connection
- Do proper lookup when incoming packets from tap
- off-by-a small number-error when reading/sending tap packets
This commit is contained in:
Guus Sliepen 2000-10-28 21:05:20 +00:00
parent ba6b8005eb
commit f25868fd2b
8 changed files with 116 additions and 55 deletions

View file

@ -59,7 +59,7 @@ void bin2hex(char *src, char *dst, int length)
}
}
char *cp_trace()
void cp_trace()
{
syslog(LOG_DEBUG, "Checkpoint trace: %s:%d <- %s:%d <- %s:%d <- %s:%d <- %s:%d <- %s:%d <- %s:%d <- %s:%d ...",
cp_file[(cp_index+7)%8], cp_line[(cp_index+7)%8],

View file

@ -46,6 +46,6 @@ extern volatile int cp_index;
extern void hex2bin(char *src, char *dst, int length);
extern void bin2hex(char *src, char *dst, int length);
extern char *cp_trace(void);
extern void cp_trace(void);
#endif /* __TINC_UTILS_H__ */