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
This commit is contained in:
Harald Welte 2023-04-15 01:07:16 +08:00
parent c3604fe9a9
commit a54c714df3
1 changed files with 1 additions and 1 deletions

View File

@ -1085,7 +1085,7 @@ static int _rout_key(struct vty *vty,
/* 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;
}
}