From d4d36f22eed10b27e515e522bf10f4e9c90fba79 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 4 Aug 2014 11:14:54 +0200 Subject: gbproxy: Correct the method name. We work on TLLIs Done with Jacob --- openbsc/include/openbsc/gb_proxy.h | 2 +- openbsc/src/gprs/gb_proxy.c | 4 ++-- openbsc/src/gprs/gb_proxy_vty.c | 2 +- 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); -- cgit v1.2.3