aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 11:14:54 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 11:37:33 +0200
commitd4d36f22eed10b27e515e522bf10f4e9c90fba79 (patch)
tree470b8755f8fbe9ce015e4942fd9d15889f5fd0cf /openbsc
parent18739ea32d5030f5080158fbdd2c3bf8ab6d01e2 (diff)
gbproxy: Correct the method name. We work on TLLIs
Done with Jacob
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/include/openbsc/gb_proxy.h2
-rw-r--r--openbsc/src/gprs/gb_proxy.c4
-rw-r--r--openbsc/src/gprs/gb_proxy_vty.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/gb_proxy.h b/openbsc/include/openbsc/gb_proxy.h
index 4305d137d..5e44e13ad 100644
--- a/openbsc/include/openbsc/gb_proxy.h
+++ b/openbsc/include/openbsc/gb_proxy.h
@@ -109,7 +109,7 @@ int gbprox_set_patch_filter(const char *filter, const char **err_msg);
void gbprox_delete_tlli(struct gbprox_peer *peer,
struct gbprox_tlli_info *tlli_info);
-int gbprox_remove_stale_ttlis(struct gbprox_peer *peer, time_t now);
+int gbprox_remove_stale_tllis(struct gbprox_peer *peer, time_t now);
int gbprox_cleanup_peers(uint16_t nsei, uint16_t bvci);
/* tmp */
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 3e5afa485..e7921ebbe 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -635,7 +635,7 @@ static int gbprox_check_imsi(struct gbprox_peer *peer,
return 1;
}
-int gbprox_remove_stale_ttlis(struct gbprox_peer *peer, time_t now)
+int gbprox_remove_stale_tllis(struct gbprox_peer *peer, time_t now)
{
struct gbprox_patch_state *state = &peer->patch_state;
struct gbprox_tlli_info *tlli_info = NULL, *nxt;
@@ -729,7 +729,7 @@ static void gbprox_register_tlli(struct gbprox_peer *peer, uint32_t tlli,
llist_add(&tlli_info->list, &state->enabled_tllis);
state->enabled_tllis_count += 1;
- gbprox_remove_stale_ttlis(peer, now);
+ gbprox_remove_stale_tllis(peer, now);
if (tlli_info != llist_entry(state->enabled_tllis.next,
struct gbprox_tlli_info, list)) {
diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c
index 16d8ceeb1..2ca0c57d4 100644
--- a/openbsc/src/gprs/gb_proxy_vty.c
+++ b/openbsc/src/gprs/gb_proxy_vty.c
@@ -519,7 +519,7 @@ DEFUN(delete_gb_tlli, delete_gb_tlli_cmd,
state = &peer->patch_state;
if (match == MATCH_STALE) {
- found = gbprox_remove_stale_ttlis(peer, time(NULL));
+ found = gbprox_remove_stale_tllis(peer, time(NULL));
if (found)
vty_out(vty, "Deleted %d stale TLLI%s%s",
found, found == 1 ? "" : "s", VTY_NEWLINE);