projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dpif-linux: Always set *fnp in make_openvswitch_device().
[openvswitch]
/
tests
/
test-vconn.c
diff --git
a/tests/test-vconn.c
b/tests/test-vconn.c
index 7f85137af4c87af6e7442e2d39aaf8aac23d1691..1bcd8c62f717539f8fa1ad5e0fa2d5d959588019 100644
(file)
--- a/
tests/test-vconn.c
+++ b/
tests/test-vconn.c
@@
-78,7
+78,7
@@
fpv_create(const char *type, struct fake_pvconn *fpv)
/* Retrieve socket's port number. */
sin_len = sizeof sin;
/* Retrieve socket's port number. */
sin_len = sizeof sin;
- if (getsockname(fd, &sin, &sin_len) < 0) {
+ if (getsockname(fd,
(struct sockaddr *)
&sin, &sin_len) < 0) {
ovs_fatal(errno, "failed to read TCP socket name");
}
if (sin_len != sizeof sin || sin.sin_family != AF_INET) {
ovs_fatal(errno, "failed to read TCP socket name");
}
if (sin_len != sizeof sin || sin.sin_family != AF_INET) {