clean up compiler warning

This commit is contained in:
skarg
2014-11-17 04:00:24 +00:00
parent 781da0b53b
commit 27e7c4752c
2 changed files with 6 additions and 4 deletions
+6 -2
View File
@@ -36,8 +36,12 @@
#define MAX_BIP_APDU 1476
#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, */
/* and we can rely on the lower layers of the Ethernet stack to fragment/reassemble the BACnet MPDUs */
#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,
and we can rely on the lower layers of the
Ethernet stack to fragment/reassemble the BACnet MPDUs */
typedef struct ip_data {
int socket;
-2
View File
@@ -52,8 +52,6 @@
#include "network_layer.h"
#include "ipmodule.h"
#include "mstpmodule.h"
#include "bip.h"
#include "dlmstp.h"
#define KEY_ESC 27