aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 8cc0f2d3e..c8a9e74e9 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -864,7 +864,7 @@ static int ipaccess_msc_read_cb(struct osmo_fd *bfd)
msc_con->name, ret);
bsc_msc_lost(msc_con);
- return -1;
+ return -EBADF;
}
LOGP(DNAT, LOGL_DEBUG,