msuraev has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ggsn/+/30667 )

Change subject: ctrl: take both address and port from vty config
......................................................................

ctrl: take both address and port from vty config

Change-Id: Ib31d67591657e308eebd1e6b7e23f79e6a3656e9
---
M ggsn/ggsn_main.c
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



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 @@
        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);

--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/30667
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ib31d67591657e308eebd1e6b7e23f79e6a3656e9
Gerrit-Change-Number: 30667
Gerrit-PatchSet: 1
Gerrit-Owner: msuraev <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: msuraev <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to