corrected BIP for the Win32 and RTOS32 builds. Compiled and tested under Borland C++ 5.02and Visual C++ 6 SP5.

This commit is contained in:
skarg
2005-05-31 17:31:30 +00:00
parent 9f079fc846
commit 68f7e4bc8a
9 changed files with 450 additions and 13 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ static int bip_send(
else
mtu[1] = 0x0A; /* Original-Unicast-NPDU */
mtu_len = 2;
mtu_len += encode_unsigned16(&mtu[mtu_len], pdu_len);
mtu_len += encode_unsigned16(&mtu[mtu_len], pdu_len + 4 /*inclusive*/);
memcpy(&mtu[mtu_len], pdu, pdu_len);
mtu_len += pdu_len;