aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-06-08 14:05:49 +0200
committerHarald Welte <laforge@osmocom.org>2023-09-25 12:32:12 +0200
commit3291ad7362a36bd22262a188056619f7fa1a1e61 (patch)
tree51668e9310ce0a36b60438591d328bfba386b867
parent0bfec03d2cbfc6c0f51c986db46c5e0d5970a66d (diff)
IPSP: Allow vty-configuration of IPSP role "ASPs"laforge/ipsp
We should now have everything in place to support IPSP-SE, let's accept enabling IPSP role via the VTY. Change-Id: I0f0fa881471b87a4bb82a0211c6fb6e4c50b48ec
-rw-r--r--src/osmo_ss7_vty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index 4e13522..a1e314c 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -766,8 +766,7 @@ DEFUN_ATTR(asp_role, asp_role_cmd,
} else if (!strcmp(argv[0], "asp")) {
asp->cfg.role = OSMO_SS7_ASP_ROLE_ASP;
} else if (!strcmp(argv[0], "ipsp")) {
- vty_out(vty, "IPSP role isn't supported yet%s", VTY_NEWLINE);
- return CMD_WARNING;
+ asp->cfg.role = OSMO_SS7_ASP_ROLE_IPSP;
} else
OSMO_ASSERT(0);