Review at  https://gerrit.osmocom.org/5521

hnbgw: use proper VTY port number defined in libosmocore (4261)

We used to have hardcoded 2323 from early development, use the proper
libosmocore definition instead.

Depends: Ife52a968a41cb286f640006587877971ff66c1a4 (libosmocore)
Change-Id: Id67d89695ebdc6288f507338c15ad773b8adf6e4
---
M src/hnbgw.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/21/5521/1

diff --git a/src/hnbgw.c b/src/hnbgw.c
index c1b931c..41958ea 100644
--- a/src/hnbgw.c
+++ b/src/hnbgw.c
@@ -470,7 +470,7 @@
                log_set_log_level(osmo_stderr_target,
                                  hnbgw_cmdline_config.log_level);
 
-       rc = telnet_init_dynif(NULL, g_hnb_gw, vty_get_bind_addr(), 2323);
+       rc = telnet_init_dynif(NULL, g_hnb_gw, vty_get_bind_addr(), 
OSMO_VTY_PORT_HNBGW);
        if (rc < 0) {
                perror("Error binding VTY port");
                exit(1);

-- 
To view, visit https://gerrit.osmocom.org/5521
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id67d89695ebdc6288f507338c15ad773b8adf6e4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to