gbproxy: Rename the field 'enabled_tllis' to 'logical_links'
This field in struct gbproxy_patch_state has involved and holds a
list of all tracked logical links now. Thus the name is modified
accordingly.
Sponsored-by: On-Waves ehf
diff --git a/openbsc/src/gprs/gb_proxy_vty.c b/openbsc/src/gprs/gb_proxy_vty.c
index 313cd9b..fefe8eb 100644
--- a/openbsc/src/gprs/gb_proxy_vty.c
+++ b/openbsc/src/gprs/gb_proxy_vty.c
@@ -458,7 +458,7 @@
gbprox_vty_print_peer(vty, peer);
- llist_for_each_entry(link_info, &state->enabled_tllis, list) {
+ llist_for_each_entry(link_info, &state->logical_links, list) {
time_t age = now - link_info->timestamp;
int stored_msgs = 0;
struct llist_head *iter;
@@ -620,7 +620,7 @@
state = &peer->patch_state;
- llist_for_each_entry_safe(link_info, nxt, &state->enabled_tllis, list) {
+ llist_for_each_entry_safe(link_info, nxt, &state->logical_links, list) {
switch (match) {
case MATCH_TLLI:
if (link_info->tlli.current != ident)
@@ -686,7 +686,7 @@
found, found == 1 ? "" : "s", VTY_NEWLINE);
} else {
llist_for_each_entry_safe(link_info, nxt,
- &state->enabled_tllis, list) {
+ &state->logical_links, list) {
if (!link_info->is_deregistered)
continue;