diff options
Diffstat (limited to 'src/common/pcu_sock.c')
-rw-r--r-- | src/common/pcu_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index 119d7b88..7e87f6d3 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -1172,7 +1172,7 @@ static int pcu_sock_accept(struct osmo_fd *bfd, unsigned int flags) if (conn_bfd->fd >= 0) { LOGP(DPCU, LOGL_NOTICE, "PCU connects but we already have another active connection ?!?\n"); /* We already have one PCU connected, this is all we support */ - state->listen_bfd.when &= ~OSMO_FD_READ; + osmo_fd_read_disable(&state->listen_bfd); close(fd); return 0; } |