Minor tweaks based on maniacbug commits.
This commit is contained in:
parent
1c53807727
commit
93097dcc0a
|
@ -173,9 +173,9 @@ serial_to_tun(FILE *inslip, int outfd)
|
|||
|
||||
read_more:
|
||||
if(inbufptr >= sizeof(uip.inbuf)) {
|
||||
inbufptr = 0;
|
||||
if(timestamp) stamptime();
|
||||
fprintf(stderr, "*** dropping large %d byte packet\n",inbufptr);
|
||||
inbufptr = 0;
|
||||
}
|
||||
ret = fread(&c, 1, 1, inslip);
|
||||
#ifdef linux
|
||||
|
|
Loading…
Reference in a new issue