diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-26 06:51:04 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-26 06:51:04 +0100 |
commit | 0834fd9b852e6bdeda09c6d878e244e4ac0b222d (patch) | |
tree | a0d34a2491449da46c846d69e18ac70d7a3fa0ff /openbsc/src/nat/bsc_nat.c | |
parent | 7b65c986eb2011ed656eee370912952327350499 (diff) |
nat: Rename variable from connection to listen
This is the socket we listen for incoming BSCs.
Diffstat (limited to 'openbsc/src/nat/bsc_nat.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index 791b28210..9558e5a57 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -54,7 +54,7 @@ static const char *config_file = "bsc-nat.cfg"; static char *msc_address = "127.0.0.1"; static struct in_addr local_addr; static struct bsc_fd msc_connection; -static struct bsc_fd bsc_connection; +static struct bsc_fd bsc_listen; static struct bsc_nat *nat; @@ -785,7 +785,7 @@ int main(int argc, char** argv) } /* wait for the BSC */ - if (listen_for_bsc(&bsc_connection, &local_addr, 5000) < 0) { + if (listen_for_bsc(&bsc_listen, &local_addr, 5000) < 0) { fprintf(stderr, "Failed to listen for BSC.\n"); exit(1); } |