clean up compiler warning
This commit is contained in:
@@ -36,8 +36,12 @@
|
|||||||
|
|
||||||
#define MAX_BIP_APDU 1476
|
#define MAX_BIP_APDU 1476
|
||||||
#define MAX_BIP_PDU (MAX_NPDU + MAX_BIP_APDU)
|
#define MAX_BIP_PDU (MAX_NPDU + MAX_BIP_APDU)
|
||||||
#define MAX_BIP_MPDU (MAX_HEADER + MAX_BIP_PDU) /* Yes, we know this is longer than an Ethernet Frame, a UDP payload and an IPv6 packet. Grandfathered in from BACnet Ethernet days, */
|
#define MAX_BIP_MPDU (MAX_HEADER + MAX_BIP_PDU)
|
||||||
/* and we can rely on the lower layers of the Ethernet stack to fragment/reassemble the BACnet MPDUs */
|
/* Yes, we know this is longer than an Ethernet Frame,
|
||||||
|
a UDP payload and an IPv6 packet.
|
||||||
|
Grandfathered in from BACnet Ethernet days,
|
||||||
|
and we can rely on the lower layers of the
|
||||||
|
Ethernet stack to fragment/reassemble the BACnet MPDUs */
|
||||||
|
|
||||||
typedef struct ip_data {
|
typedef struct ip_data {
|
||||||
int socket;
|
int socket;
|
||||||
|
|||||||
@@ -52,8 +52,6 @@
|
|||||||
#include "network_layer.h"
|
#include "network_layer.h"
|
||||||
#include "ipmodule.h"
|
#include "ipmodule.h"
|
||||||
#include "mstpmodule.h"
|
#include "mstpmodule.h"
|
||||||
#include "bip.h"
|
|
||||||
#include "dlmstp.h"
|
|
||||||
|
|
||||||
#define KEY_ESC 27
|
#define KEY_ESC 27
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user