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

Change subject: proxy/vty: g_proxy_ctx->bind_addr cannot be NULL
......................................................................

proxy/vty: 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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved




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: merged
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ifbe1112ff73940154a861f6991211652d913d0b4
Gerrit-Change-Number: 43735
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to