Skip to content

Commit

Permalink
examples/ipsec-secgw: fix typo in error message
Browse files Browse the repository at this point in the history
Caught by codespell.

Fixes: 7622291 ("examples/ipsec-secgw: allow to specify neighbour MAC address")
Cc: [email protected]

Signed-off-by: Masoumeh Farhadi Nia <[email protected]>
  • Loading branch information
MasoumehFarhadinia authored and tmonjalo committed Mar 25, 2024
1 parent fbca1ad commit 0dc9103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ Martin Weiser <[email protected]>
Martyna Szapar-Mudlaw <[email protected]> <[email protected]>
Maryam Tahhan <[email protected]>
Masoud Hasanifard <[email protected]>
Masoumeh Farhadi Nia <[email protected]>
Matan Azrad <[email protected]> <[email protected]>
Matej Vido <[email protected]> <[email protected]>
Mateusz Kowalski <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion examples/ipsec-secgw/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ cfg_parse_neigh(void *parsed_result, __rte_unused struct cmdline *cl,
rc = parse_mac(res->mac, &mac);
APP_CHECK(rc == 0, st, "invalid ether addr:%s", res->mac);
rc = add_dst_ethaddr(res->port, &mac);
APP_CHECK(rc == 0, st, "invalid port numer:%hu", res->port);
APP_CHECK(rc == 0, st, "invalid port number:%hu", res->port);
if (st->status < 0)
return;
}
Expand Down

0 comments on commit 0dc9103

Please sign in to comment.