projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian: Don't unload kernel modules in init script on "stop" or "restart".
[openvswitch]
/
lib
/
stream-tcp.c
diff --git
a/lib/stream-tcp.c
b/lib/stream-tcp.c
index ecd96865fc286536584dd5d6e41ca49531a29962..947be9f19828a07c7e8593a8995dd8713d37bdcf 100644
(file)
--- a/
lib/stream-tcp.c
+++ b/
lib/stream-tcp.c
@@
-74,7
+74,7
@@
tcp_open(const char *name, char *suffix, struct stream **streamp)
struct sockaddr_in sin;
int fd, error;
struct sockaddr_in sin;
int fd, error;
- error =
tcp_open_active(
suffix, 0, &sin, &fd);
+ error =
inet_open_active(SOCK_STREAM,
suffix, 0, &sin, &fd);
if (fd >= 0) {
return new_tcp_stream(name, fd, error, &sin, streamp);
} else {
if (fd >= 0) {
return new_tcp_stream(name, fd, error, &sin, streamp);
} else {
@@
-103,7
+103,7
@@
ptcp_open(const char *name UNUSED, char *suffix, struct pstream **pstreamp)
{
int fd;
{
int fd;
- fd =
tcp_open_passive(
suffix, 0);
+ fd =
inet_open_passive(SOCK_STREAM,
suffix, 0);
if (fd < 0) {
return -fd;
} else {
if (fd < 0) {
return -fd;
} else {