fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/43735?usp=email )


Change subject: vty: config_write_proxy(): g_proxy_ctx->bind_addr cannot be NULL
......................................................................

vty: config_write_proxy(): g_proxy_ctx->bind_addr cannot be NULL

Change-Id: Ifbe1112ff73940154a861f6991211652d913d0b4
Fixes: CID#564330
---
M proxy/src/vty.c
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/35/43735/1

diff --git a/proxy/src/vty.c b/proxy/src/vty.c
index 6b32ec9..473ac7f 100644
--- a/proxy/src/vty.c
+++ b/proxy/src/vty.c
@@ -361,8 +361,7 @@
        struct proxy_trx *trx;

        vty_out(vty, "proxy%s", VTY_NEWLINE);
-       if (g_proxy_ctx->bind_addr)
-               vty_out(vty, " bind-addr %s%s", g_proxy_ctx->bind_addr, 
VTY_NEWLINE);
+       vty_out(vty, " bind-addr %s%s", g_proxy_ctx->bind_addr, VTY_NEWLINE);
        if (clck_gen_get_start_fn() == CLCK_GEN_START_FN_RANDOM)
                vty_out(vty, " clck-gen start-fn random%s", VTY_NEWLINE);
        else

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/43735?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ifbe1112ff73940154a861f6991211652d913d0b4
Gerrit-Change-Number: 43735
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>

Reply via email to