From 3291ad7362a36bd22262a188056619f7fa1a1e61 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 8 Jun 2023 14:05:49 +0200 Subject: IPSP: Allow vty-configuration of IPSP role "ASPs" We should now have everything in place to support IPSP-SE, let's accept enabling IPSP role via the VTY. Change-Id: I0f0fa881471b87a4bb82a0211c6fb6e4c50b48ec --- src/osmo_ss7_vty.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3