Fixed a bug in the ethernet INIT packet.
authorlbatlle@npdl268.bpo.hp.com
Fri, 11 Jan 2008 14:17:28 +0100
changeset 83 76adae542b57
parent 82 5cbe47923060
child 84 150a622f26ea
Fixed a bug in the ethernet INIT packet.
eth_proto.c
--- a/eth_proto.c	Wed Jan 02 15:15:11 2008 +0100
+++ b/eth_proto.c	Fri Jan 11 14:17:28 2008 +0100
@@ -137,6 +137,7 @@
     if (seq == 0 && c == INIT)
     {
       edata.seq_wait = 1; /* next of the just receive 0 */
+      edata.seq_send = 0; /* New partner we send to, so 0 sent */
       memcpy(edata.partner, partner, sizeof(edata.partner));
       return -1; /* Nothing the parent should care about */
     }