aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bsc/osmo_bsc_vty.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-18 17:57:35 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-19 17:53:14 +0000
commite94d7d1bdff6cbedc2394fa2ced8151c8da35fa5 (patch)
treebf4c065ff27ea649500989d7c7cef04def616a72 /src/osmo-bsc/osmo_bsc_vty.c
parent3edbd0e0652e192cf2451926a25c08f8893b0423 (diff)
remove libosmo-sccp dependency for osmo-bsc
libosmo-sccp is the old sccp-lite-focused SCCP implementation that we used before libosmo-sigtran was created. The new osmo-bsc in this repository is using libosmo-sigtran and shouldn't be using parts of libosmo-sccp anymore. We only keep it around in configure.ac and Makefile.am for osmo-bsc_nat, which is not even built in this repository anymore (or 'again yet'?) Change-Id: I8f274be7d196cd7a5b1ec9ada949130fb06e984d
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_vty.c')
-rw-r--r--src/osmo-bsc/osmo_bsc_vty.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/osmo-bsc/osmo_bsc_vty.c b/src/osmo-bsc/osmo_bsc_vty.c
index a87b20fff..f01e6f7e8 100644
--- a/src/osmo-bsc/osmo_bsc_vty.c
+++ b/src/osmo-bsc/osmo_bsc_vty.c
@@ -28,7 +28,6 @@
#include <osmocom/core/talloc.h>
#include <osmocom/vty/logging.h>
-#include <osmocom/sccp/sccp_types.h>
#include <osmocom/mgcp_client/mgcp_client.h>
@@ -663,14 +662,14 @@ DEFUN(cfg_msc_no_acc_lst_name,
static void enforce_standard_ssn(struct vty *vty, struct osmo_sccp_addr *addr)
{
if (addr->presence & OSMO_SCCP_ADDR_T_SSN) {
- if (addr->ssn != SCCP_SSN_BSSAP)
+ if (addr->ssn != OSMO_SCCP_SSN_BSSAP)
vty_out(vty,
"setting an SSN (%u) different from the standard (%u) is not allowd, will use standard SSN for address: %s%s",
- addr->ssn, SCCP_SSN_BSSAP, osmo_sccp_addr_dump(addr), VTY_NEWLINE);
+ addr->ssn, OSMO_SCCP_SSN_BSSAP, osmo_sccp_addr_dump(addr), VTY_NEWLINE);
}
addr->presence |= OSMO_SCCP_ADDR_T_SSN;
- addr->ssn = SCCP_SSN_BSSAP;
+ addr->ssn = OSMO_SCCP_SSN_BSSAP;
}
DEFUN(cfg_msc_cs7_bsc_addr,