Skip to content

Commit

Permalink
Fixed issue with listening for both v4 and v6.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimEvens committed Nov 18, 2015
1 parent aaa1b71 commit 2fe376f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set (OPENBMP_VER_MAJOR "0")
set (OPENBMP_VER_MINOR "11")
set (OPENBMP_VER_PATCH "0")
set (OPENBMP_VER_RELEASE "pre6")
set (OPENBMP_VER_RELEASE "pre7")
set (OPENBMPD_VERSION "${OPENBMP_VER_MAJOR}.${OPENBMP_VER_MINOR}.${OPENBMP_VER_PATCH}-${OPENBMP_VER_RELEASE}")

cmake_minimum_required (VERSION 2.6)
Expand Down
2 changes: 1 addition & 1 deletion Server/src/bmp/BMPListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void BMPListener::open_socket(bool ipv4, bool ipv6) {
* \return True if accepted a connection, false if not (timed out waiting)
*/
bool BMPListener::wait_and_accept_connection(ClientInfo &c, int timeout) {
pollfd pfd[2];
pollfd pfd[4];
int fds_cnt = 0;
int cur_sock = 0;
bool close_sock = false;
Expand Down

0 comments on commit 2fe376f

Please sign in to comment.