aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r--openbsc/src/gprs/gb_proxy.c4
-rw-r--r--openbsc/src/gprs/gb_proxy_vty.c2
2 files changed, 3 insertions, 3 deletions
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);