Windows already has a MAX_MONITORS defined in ddeml.h.
Signed-off-by: Gurucharan Shetty <[email protected]>
---
lib/rconn.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/rconn.c b/lib/rconn.c
index c9b68bb..5c28806 100644
--- a/lib/rconn.c
+++ b/lib/rconn.c
@@ -137,8 +137,8 @@ struct rconn {
uint8_t dscp;
/* Messages sent or received are copied to the monitor connections. */
-#define MAX_MONITORS 8
- struct vconn *monitors[8];
+#define MAXIMUM_MONITORS 8
+ struct vconn *monitors[MAXIMUM_MONITORS];
size_t n_monitors;
uint32_t allowed_versions;
--
1.7.9.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev