laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sccp/+/32328 )
Change subject: cosmetic: Fix log message in routing table add error case
......................................................................
cosmetic: Fix log message in routing table add error case
* crate -> create (typo)
* linkset -> AS (we're adding a route for an AS here, not a linkset)
Change-Id: I901aa68f64de3bee1766c356a1403b6ca57d5237
---
M src/osmo_ss7_vty.c
1 file changed, 13 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/28/32328/1
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index 7dffe02..0d15c52 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -1085,7 +1085,7 @@
/* automatically add new route (see also comment above) */
if (cs7_role == CS7_ROLE_ASP) {
if (!osmo_ss7_route_create(as->inst->rtable_system, rkey->pc, 0xffffff,
as->cfg.name)) {
- vty_out(vty, "Cannot crate route (pc=%s, linkset=%s) to linkset %s", dpc,
as->cfg.name, VTY_NEWLINE);
+ vty_out(vty, "Cannot create route (pc=%s, linkset=%s) to AS %s", dpc,
as->cfg.name, VTY_NEWLINE);
return CMD_WARNING;
}
}
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sccp/+/32328
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I901aa68f64de3bee1766c356a1403b6ca57d5237
Gerrit-Change-Number: 32328
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange