summaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-13 16:32:11 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-13 16:33:27 +0200
commit9e3bea15ce1c24ba02b32708cf2a103f55cfaf75 (patch)
treeede9badcf18e5a133ea231b425fac17e1c6512f0 /openbsc
parent37ada1a5e72da3804ed7375bccf5ed10db2e9572 (diff)
nat: Remove misleading comment
Code is already doing stuff with the connection (fd). Change-Id: Ieeaa0e024b9542d1a22a8e3ab4c3229a6f8a0b49
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 0c91d04a0..0e6952811 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1423,12 +1423,8 @@ static int ipaccess_listen_bsc_cb(struct osmo_fd *bfd, unsigned int what)
if (rc != 0)
LOGP(DNAT, LOGL_ERROR, "Failed to set IP_TOS: %s\n", strerror(errno));
- /* todo... do something with the connection */
/* todo... use GNUtls to see if we want to trust this as a BTS */
- /*
- *
- */
bsc = bsc_connection_alloc(nat);
if (!bsc) {
LOGP(DNAT, LOGL_ERROR, "Failed to allocate BSC struct.\n");