aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2022-12-17 21:14:57 +0300
committerMax <msuraev@sysmocom.de>2022-12-17 21:14:57 +0300
commita727e6ed385bef0aff229d96f61e8196ece48b80 (patch)
tree857f3d5748494f608dd69ffe59a7d48e3baf2bb0 /ggsn
parent3a55b89777395bdf88fe9cb39e3f3bd19df8f568 (diff)
ctrl: take both address and port from vty config
Diffstat (limited to 'ggsn')
-rw-r--r--ggsn/ggsn_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ggsn/ggsn_main.c b/ggsn/ggsn_main.c
index 2d917c1..bc9e0c3 100644
--- a/ggsn/ggsn_main.c
+++ b/ggsn/ggsn_main.c
@@ -227,8 +227,7 @@ int main(int argc, char **argv)
if (rc < 0)
exit(1);
- g_ctrlh = ctrl_interface_setup_dynip(NULL, ctrl_vty_get_bind_addr(),
- OSMO_CTRL_PORT_GGSN, NULL);
+ g_ctrlh = ctrl_interface_setup(NULL, OSMO_CTRL_PORT_GGSN, NULL);
if (!g_ctrlh) {
LOGP(DGGSN, LOGL_ERROR, "Failed to create CTRL interface.\n");
exit(1);