projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix race condition in parallel execution of "make install".
[openvswitch]
/
ofproto
/
collectors.c
diff --git
a/ofproto/collectors.c
b/ofproto/collectors.c
index b41e8e64c255704f4f9b5de115fa96e2d3344b05..14572db9c73c686869c5894770a58e73e570f40f 100644
(file)
--- a/
ofproto/collectors.c
+++ b/
ofproto/collectors.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2008, 2009, 2010, 2011 Nicira
Networks
.
+ * Copyright (c) 2008, 2009, 2010, 2011 Nicira
, Inc
.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-63,8
+63,7
@@
collectors_create(const struct sset *targets, uint16_t default_port,
int error;
int fd;
int error;
int fd;
- error = inet_open_active(SOCK_DGRAM, name, default_port, NULL, &fd,
- DSCP_INVALID);
+ error = inet_open_active(SOCK_DGRAM, name, default_port, NULL, &fd, 0);
if (fd >= 0) {
c->fds[c->n_fds++] = fd;
} else {
if (fd >= 0) {
c->fds[c->n_fds++] = fd;
} else {