Move g_ggsn_list declaration to ggsn.c

The llist belongs to the data domain, not the vty.

Change-Id: I0a93aacbdecc283dd4f6b32892430ebdb0b94e50
This commit is contained in:
Pau Espin Pedrol
2024-10-17 18:58:07 +02:00
parent de385e0253
commit 7d80216717
2 changed files with 2 additions and 2 deletions

View File

@@ -60,6 +60,8 @@
#include "ggsn.h"
#include "../gtp/gtp_internal.h"
LLIST_HEAD(g_ggsn_list);
static int ggsn_tun_fd_cb(struct osmo_fd *fd, unsigned int what);
static int cb_tun_ind(struct tun_t *tun, void *pack, unsigned len);

View File

@@ -50,8 +50,6 @@
#define IFCONFIG_STR "GGSN-based interface configuration\n"
#define GGSN_STR "Gateway GPRS Support NODE (GGSN)\n"
LLIST_HEAD(g_ggsn_list);
enum ggsn_vty_node {
GGSN_NODE = _LAST_OSMOVTY_NODE + 1,
APN_NODE,