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
This commit is contained in:
Harald Welte 2023-06-08 14:05:49 +02:00
parent 0bfec03d2c
commit 3291ad7362
1 changed files with 1 additions and 2 deletions

View File

@ -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);