diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-07-20 14:41:20 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-08-11 18:34:01 +0200 |
commit | 6bd97b79423b70a19d6f20deb7dae2c0da257424 (patch) | |
tree | 3f693607ee3587ac3d5d8cc72c7cac27e6865b06 /include/openbsc | |
parent | 89fecbff83ae5eeeac89ef15ab8781b65bd5d621 (diff) |
sgsn init: pass sgsn_config pointer to sgsn_vty_init(), not sgsn_parse_config
In an upcoming commit, sgsn_vty_init() will require access to the global sgsn
config struct to initialize a generic VTY command with the proper config
destination address, see Change-Id I5b5b6a9678b458affa86800afb1ec726e66eed88.
Change-Id: Ie6b6e5422987586531a898e0c5b867623dbecb0f
Diffstat (limited to 'include/openbsc')
-rw-r--r-- | include/openbsc/sgsn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openbsc/sgsn.h b/include/openbsc/sgsn.h index 1ede2c930..1ed1583ed 100644 --- a/include/openbsc/sgsn.h +++ b/include/openbsc/sgsn.h @@ -140,8 +140,8 @@ extern struct sgsn_instance *sgsn; /* sgsn_vty.c */ -int sgsn_vty_init(void); -int sgsn_parse_config(const char *config_file, struct sgsn_config *cfg); +int sgsn_vty_init(struct sgsn_config *cfg); +int sgsn_parse_config(const char *config_file); /* sgsn.c */ |