pespin has uploaded this change for review.
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
---
M src/ss7_asp_vty.c
1 file changed, 2 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran refs/changes/27/42027/1
diff --git a/src/ss7_asp_vty.c b/src/ss7_asp_vty.c
index d54eb01..b7af9c9 100644
--- a/src/ss7_asp_vty.c
+++ b/src/ss7_asp_vty.c
@@ -414,15 +414,12 @@
{
struct osmo_ss7_asp *asp = vty->index;
- if (!strcmp(argv[0], "ipsp")) {
- vty_out(vty, "IPSP role isn't supported yet%s", VTY_NEWLINE);
- return CMD_WARNING;
- }
-
if (!strcmp(argv[0], "sg"))
asp->cfg.role = OSMO_SS7_ASP_ROLE_SG;
else if (!strcmp(argv[0], "asp"))
asp->cfg.role = OSMO_SS7_ASP_ROLE_ASP;
+ else if (!strcmp(argv[0], "ipsp"))
+ asp->cfg.role = OSMO_SS7_ASP_ROLE_IPSP;
else
OSMO_ASSERT(0);
To view, visit change 42027. To unsubscribe, or for help writing mail filters, visit settings.