projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d031d7
)
rconn: Prevent redefinition of 'MAX_MONITORS' in Windows.
author
Gurucharan Shetty
<gshetty@nicira.com>
Tue, 9 Sep 2014 20:19:22 +0000
(13:19 -0700)
committer
Gurucharan Shetty
<gshetty@nicira.com>
Wed, 10 Sep 2014 15:13:21 +0000
(08:13 -0700)
Windows already has a MAX_MONITORS defined in ddeml.h.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
lib/rconn.c
patch
|
blob
|
history
diff --git
a/lib/rconn.c
b/lib/rconn.c
index
c9b68bb
..
5c28806
100644
(file)
--- 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 MAX
IMUM
_MONITORS 8
+ struct vconn *monitors[
MAXIMUM_MONITORS
];
size_t n_monitors;
uint32_t allowed_versions;