pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-sigtran/+/42041?usp=email )

Change subject: tcap: Log vty msg in CS7_ROLE_SG
......................................................................

tcap: Log vty msg in CS7_ROLE_SG

This code was placed in the wrong section, since tcap features can only
be enabled in SG mode (STP).

Change-Id: I77cf19bdc8fa29dd4a28773ac0f954850cd76e1b
---
M src/ss7_as_vty.c
1 file changed, 1 insertion(+), 0 deletions(-)

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




diff --git a/src/ss7_as_vty.c b/src/ss7_as_vty.c
index 2d919bb..80359aa 100644
--- a/src/ss7_as_vty.c
+++ b/src/ss7_as_vty.c
@@ -684,6 +684,7 @@
                                        "'point-code override dpc PC' 
configured in its routing-key. Fix your config!%s",
                                         as->cfg.name, VTY_NEWLINE);
                }
+       } else {
 #ifdef WITH_TCAP_LOADSHARING
                if (as->cfg.loadshare.tcap.enabled && as->cfg.mode != 
OSMO_SS7_AS_TMOD_LOADSHARE)
                        vty_out(vty, "%% AS '%s' TCAP routing is enabled, but 
only works in traffic-mode loadshare!%s",

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

Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I77cf19bdc8fa29dd4a28773ac0f954850cd76e1b
Gerrit-Change-Number: 42041
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to