diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-05 14:47:15 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-07-05 14:47:15 +0800 |
commit | d1d45b3b8918e27d1292ded0815a6514f455913a (patch) | |
tree | d04414111102e853d7034d656ceb770f2443098a | |
parent | 20ee312d5c127594966f6c55e760709c48a35faa (diff) |
nat: Remove the first_contact variable.
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 1 | ||||
-rw-r--r-- | openbsc/src/nat/bsc_nat.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 11d1f233d..15019b40c 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -252,7 +252,6 @@ struct bsc_nat { /* msc things */ char *msc_ip; int msc_port; - int first_contact; struct bsc_msc_connection *msc_con; char *token; diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c index ef3f9a965..6d3110ec9 100644 --- a/openbsc/src/nat/bsc_nat.c +++ b/openbsc/src/nat/bsc_nat.c @@ -497,7 +497,6 @@ static void msc_connection_was_lost(struct bsc_msc_connection *con) llist_for_each_entry_safe(bsc, tmp, &nat->bsc_connections, list_entry) bsc_close_connection(bsc); - nat->first_contact = 0; bsc_mgcp_free_endpoints(nat); bsc_msc_schedule_connect(con); } |