gbproxy: Correct the method name. We work on TLLIs
Done with Jacob
diff --git a/openbsc/include/openbsc/gb_proxy.h b/openbsc/include/openbsc/gb_proxy.h
index 4305d13..5e44e13 100644
--- a/openbsc/include/openbsc/gb_proxy.h
+++ b/openbsc/include/openbsc/gb_proxy.h
@@ -109,7 +109,7 @@
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 3e5afa4..e7921eb 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -635,7 +635,7 @@
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 @@
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 16d8cee..2ca0c57 100644
--- a/openbsc/src/gprs/gb_proxy_vty.c
+++ b/openbsc/src/gprs/gb_proxy_vty.c
@@ -519,7 +519,7 @@
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);