mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
				synced 2025-11-03 21:53:25 +00:00 
			
		
		
		
	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:
		@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user