Increased the size of the MAC address in the BACnet address to handle IPv6 addresses per the BTL Implementors Guide.

This commit is contained in:
skarg
2005-06-25 12:39:10 +00:00
parent 5ceddb8c03
commit 9e154c773e
+2 -1
View File
@@ -61,7 +61,8 @@ typedef struct BACnet_Object_Data
} BACNET_OBJECT_DATA;
#define BACNET_BROADCAST_NETWORK 0xFFFF
#define MAX_MAC_LEN 8
// IPv6 (16 octets) coupled with port number (2 octets)
#define MAX_MAC_LEN 18
struct BACnet_Device_Address {
// mac_len = 0 if global address
int mac_len;