summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index cbb2a213c..04a4f5f15 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -419,15 +419,6 @@ int BindPorts(bool bail)
}
}
}
-
- /* if we didn't bind to anything then abort */
- if (!BoundPortCount)
- {
- log(DEFAULT,"No ports bound, bailing!");
- printf("\nERROR: Could not bind any of %d ports! Please check your configuration.\n\n", PortCount);
- return 0;
- }
-
return BoundPortCount;
}