gbproxy: Correct the method name. We work on TLLIs
Done with Jacob
This commit is contained in:
parent
18739ea32d
commit
d4d36f22ee
|
@ -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 */
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue