Skip to content

Commit

Permalink
examples/ipsec-secgw: fix typo in error message
Browse files Browse the repository at this point in the history
[ upstream commit 0dc91038201be67714f92a0fd0e0e7ed4f25c6a0 ]

Caught by codespell.

Fixes: 7622291 ("examples/ipsec-secgw: allow to specify neighbour MAC address")

Signed-off-by: Masoumeh Farhadi Nia <masoumeh.farhadinia@gmail.com>
  • Loading branch information
Masoumeh2019 authored and bluca committed Mar 25, 2024
1 parent 8a9e1d1 commit efe1d78
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 @@ -865,6 +865,7 @@ Martin Weiser <martin.weiser@allegro-packets.com>
Martyna Szapar <martyna.szapar@intel.com>
Maryam Tahhan <maryam.tahhan@intel.com>
Masoud Hasanifard <masoudhasanifard@gmail.com>
Masoumeh Farhadi Nia <masoumeh.farhadinia@gmail.com>
Matan Azrad <matan@nvidia.com> <matan@mellanox.com>
Matej Vido <matejvido@gmail.com> <vido@cesnet.cz>
Mateusz Kowalski <mateusz.kowalski@intel.com>
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 efe1d78

Please sign in to comment.