forked from Mirror/frr
*: Fix spelling errors pointed out by debian packaging
Debian packaging when run finds a bunch of spelling errors: I: frr: spelling-error-in-binary usr/bin/vtysh occurences occurrences I: frr: spelling-error-in-binary usr/lib/frr/bfdd Amount of times Number of times I: frr: spelling-error-in-binary usr/lib/frr/bgpd occurences occurrences I: frr: spelling-error-in-binary usr/lib/frr/bgpd recieved received I: frr: spelling-error-in-binary usr/lib/frr/isisd betweeen between I: frr: spelling-error-in-binary usr/lib/frr/ospf6d Infomation Information I: frr: spelling-error-in-binary usr/lib/frr/ospfd missmatch mismatch I: frr: spelling-error-in-binary usr/lib/frr/pimd bootsrap bootstrap I: frr: spelling-error-in-binary usr/lib/frr/pimd Unknwon Unknown I: frr: spelling-error-in-binary usr/lib/frr/zebra Requsted Requested I: frr: spelling-error-in-binary usr/lib/frr/zebra uknown unknown I: frr: spelling-error-in-binary usr/lib/x86_64-linux-gnu/frr/libfrr.so.0.0.0 overriden overridden This commit fixes all of them except the bgp `recieved` issue due to it being part of json output. That one will need to go through a deprecation cycle. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
604321440e
commit
f79f7a7bb2
|
@ -1466,7 +1466,7 @@ struct aspath *aspath_prepend(struct aspath *as1, struct aspath *as2)
|
||||||
/* Not reached */
|
/* Not reached */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Iterate over AS_PATH segments and wipe all occurences of the
|
/* Iterate over AS_PATH segments and wipe all occurrences of the
|
||||||
* listed AS numbers. Hence some segments may lose some or even
|
* listed AS numbers. Hence some segments may lose some or even
|
||||||
* all data on the way, the operation is implemented as a smarter
|
* all data on the way, the operation is implemented as a smarter
|
||||||
* version of aspath_dup(), which allocates memory to hold the new
|
* version of aspath_dup(), which allocates memory to hold the new
|
||||||
|
|
|
@ -1180,7 +1180,7 @@ DEFPY (show_rpki_prefix,
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!is_synchronized()) {
|
if (!is_synchronized()) {
|
||||||
vty_out(vty, "No Conection to RPKI cache server.\n");
|
vty_out(vty, "No Connection to RPKI cache server.\n");
|
||||||
return CMD_WARNING;
|
return CMD_WARNING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6069,7 +6069,7 @@ DEFUN (neighbor_allowas_in,
|
||||||
NEIGHBOR_STR
|
NEIGHBOR_STR
|
||||||
NEIGHBOR_ADDR_STR2
|
NEIGHBOR_ADDR_STR2
|
||||||
"Accept as-path with my AS present in it\n"
|
"Accept as-path with my AS present in it\n"
|
||||||
"Number of occurences of AS number\n"
|
"Number of occurrences of AS number\n"
|
||||||
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
||||||
{
|
{
|
||||||
int idx_peer = 1;
|
int idx_peer = 1;
|
||||||
|
@ -6103,7 +6103,7 @@ ALIAS_HIDDEN(
|
||||||
"neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in [<(1-10)|origin>]",
|
"neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in [<(1-10)|origin>]",
|
||||||
NEIGHBOR_STR NEIGHBOR_ADDR_STR2
|
NEIGHBOR_STR NEIGHBOR_ADDR_STR2
|
||||||
"Accept as-path with my AS present in it\n"
|
"Accept as-path with my AS present in it\n"
|
||||||
"Number of occurences of AS number\n"
|
"Number of occurrences of AS number\n"
|
||||||
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
||||||
|
|
||||||
DEFUN (no_neighbor_allowas_in,
|
DEFUN (no_neighbor_allowas_in,
|
||||||
|
@ -6113,7 +6113,7 @@ DEFUN (no_neighbor_allowas_in,
|
||||||
NEIGHBOR_STR
|
NEIGHBOR_STR
|
||||||
NEIGHBOR_ADDR_STR2
|
NEIGHBOR_ADDR_STR2
|
||||||
"allow local ASN appears in aspath attribute\n"
|
"allow local ASN appears in aspath attribute\n"
|
||||||
"Number of occurences of AS number\n"
|
"Number of occurrences of AS number\n"
|
||||||
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
||||||
{
|
{
|
||||||
int idx_peer = 2;
|
int idx_peer = 2;
|
||||||
|
@ -6135,7 +6135,7 @@ ALIAS_HIDDEN(
|
||||||
"no neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in [<(1-10)|origin>]",
|
"no neighbor <A.B.C.D|X:X::X:X|WORD> allowas-in [<(1-10)|origin>]",
|
||||||
NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2
|
NO_STR NEIGHBOR_STR NEIGHBOR_ADDR_STR2
|
||||||
"allow local ASN appears in aspath attribute\n"
|
"allow local ASN appears in aspath attribute\n"
|
||||||
"Number of occurences of AS number\n"
|
"Number of occurrences of AS number\n"
|
||||||
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
"Only accept my AS in the as-path if the route was originated in my AS\n")
|
||||||
|
|
||||||
DEFUN (neighbor_ttl_security,
|
DEFUN (neighbor_ttl_security,
|
||||||
|
|
|
@ -410,7 +410,7 @@ static int frr_opt(int opt)
|
||||||
}
|
}
|
||||||
if (di->zpathspace)
|
if (di->zpathspace)
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"-N option overriden by -z for zebra named socket path\n");
|
"-N option overridden by -z for zebra named socket path\n");
|
||||||
|
|
||||||
if (strchr(optarg, '/') || strchr(optarg, '.')) {
|
if (strchr(optarg, '/') || strchr(optarg, '.')) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
|
|
|
@ -714,7 +714,7 @@ static int fd_poll(struct thread_master *m, struct pollfd *pfds, nfds_t pfdsize,
|
||||||
{
|
{
|
||||||
/* If timer_wait is null here, that means poll() should block
|
/* If timer_wait is null here, that means poll() should block
|
||||||
* indefinitely,
|
* indefinitely,
|
||||||
* unless the thread_master has overriden it by setting
|
* unless the thread_master has overridden it by setting
|
||||||
* ->selectpoll_timeout.
|
* ->selectpoll_timeout.
|
||||||
* If the value is positive, it specifies the maximum number of
|
* If the value is positive, it specifies the maximum number of
|
||||||
* milliseconds
|
* milliseconds
|
||||||
|
|
|
@ -258,7 +258,7 @@ DEFUN (show_zebra,
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
vty_out(vty, "Zebra Infomation\n");
|
vty_out(vty, "Zebra Information\n");
|
||||||
vty_out(vty, " fail: %d\n", zclient->fail);
|
vty_out(vty, " fail: %d\n", zclient->fail);
|
||||||
vty_out(vty, " redistribute default: %d\n",
|
vty_out(vty, " redistribute default: %d\n",
|
||||||
vrf_bitmap_check(zclient->default_information[AFI_IP6],
|
vrf_bitmap_check(zclient->default_information[AFI_IP6],
|
||||||
|
|
|
@ -39,7 +39,7 @@ static struct log_ref ferr_ospf_warn[] = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.code = EC_OSPF_PACKET,
|
.code = EC_OSPF_PACKET,
|
||||||
.title = "OSPF has detected packet information missmatch",
|
.title = "OSPF has detected packet information mismatch",
|
||||||
.description = "OSPF has detected that packet information received is incorrect",
|
.description = "OSPF has detected that packet information received is incorrect",
|
||||||
.suggestion = "Ensure interface configuration is correct, gather log files from here and the peer and open an Issue",
|
.suggestion = "Ensure interface configuration is correct, gather log files from here and the peer and open an Issue",
|
||||||
},
|
},
|
||||||
|
|
|
@ -711,11 +711,11 @@ static bool pim_bsm_frag_send(uint8_t *buf, uint32_t len, struct interface *ifp,
|
||||||
/* MTU passed here is PIM MTU (IP MTU less IP Hdr) */
|
/* MTU passed here is PIM MTU (IP MTU less IP Hdr) */
|
||||||
if (pim_mtu < (PIM_MIN_BSM_LEN)) {
|
if (pim_mtu < (PIM_MIN_BSM_LEN)) {
|
||||||
zlog_warn(
|
zlog_warn(
|
||||||
"%s: mtu(pim mtu: %d) size less than minimum bootsrap len",
|
"%s: mtu(pim mtu: %d) size less than minimum bootstrap len",
|
||||||
__PRETTY_FUNCTION__, pim_mtu);
|
__PRETTY_FUNCTION__, pim_mtu);
|
||||||
if (PIM_DEBUG_BSM)
|
if (PIM_DEBUG_BSM)
|
||||||
zlog_debug(
|
zlog_debug(
|
||||||
"%s: mtu (pim mtu:%d) less than minimum bootsrap len",
|
"%s: mtu (pim mtu:%d) less than minimum bootstrap len",
|
||||||
__PRETTY_FUNCTION__, pim_mtu);
|
__PRETTY_FUNCTION__, pim_mtu);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -479,7 +479,7 @@ static int pim_update_upstream_nh_helper(struct hash_bucket *bucket, void *arg)
|
||||||
zlog_debug("%s: NHT upstream %s(%s) old ifp %s new ifp %s",
|
zlog_debug("%s: NHT upstream %s(%s) old ifp %s new ifp %s",
|
||||||
__PRETTY_FUNCTION__, up->sg_str, pim->vrf->name,
|
__PRETTY_FUNCTION__, up->sg_str, pim->vrf->name,
|
||||||
old.source_nexthop.interface
|
old.source_nexthop.interface
|
||||||
? old.source_nexthop.interface->name : "Unknwon",
|
? old.source_nexthop.interface->name : "Unknown",
|
||||||
up->rpf.source_nexthop.interface->name);
|
up->rpf.source_nexthop.interface->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# configure options
|
# configure options
|
||||||
#
|
#
|
||||||
# Some can be overriden on rpmbuild commandline with:
|
# Some can be overridden on rpmbuild commandline with:
|
||||||
# rpmbuild --define 'variable value'
|
# rpmbuild --define 'variable value'
|
||||||
# (use any value, ie 1 for flag "with_XXXX" definitions)
|
# (use any value, ie 1 for flag "with_XXXX" definitions)
|
||||||
#
|
#
|
||||||
|
|
|
@ -264,22 +264,22 @@ module frr-bfdd {
|
||||||
|
|
||||||
leaf session-down-count {
|
leaf session-down-count {
|
||||||
type uint32;
|
type uint32;
|
||||||
description "Amount of times the session went down";
|
description "Number of times the session went down";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf session-up-count {
|
leaf session-up-count {
|
||||||
type uint32;
|
type uint32;
|
||||||
description "Amount of times the session went up";
|
description "Number of times the session went up";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf control-packet-input-count {
|
leaf control-packet-input-count {
|
||||||
type uint64;
|
type uint64;
|
||||||
description "Amount of control packets received";
|
description "Number of control packets received";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf control-packet-output-count {
|
leaf control-packet-output-count {
|
||||||
type uint64;
|
type uint64;
|
||||||
description "Amount of control packets sent";
|
description "Number of control packets sent";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -296,12 +296,12 @@ module frr-bfdd {
|
||||||
*/
|
*/
|
||||||
leaf echo-packet-input-count {
|
leaf echo-packet-input-count {
|
||||||
type uint64;
|
type uint64;
|
||||||
description "Amount of echo packets received";
|
description "Number of echo packets received";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf echo-packet-output-count {
|
leaf echo-packet-output-count {
|
||||||
type uint64;
|
type uint64;
|
||||||
description "Amount of echo packets sent";
|
description "Number of echo packets sent";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1024,7 +1024,7 @@ module frr-isisd {
|
||||||
"This notification is sent when we attempt to propagate
|
"This notification is sent when we attempt to propagate
|
||||||
an LSP that is larger than the dataLinkBlockSize for the
|
an LSP that is larger than the dataLinkBlockSize for the
|
||||||
circuit. The notification generation must be throttled
|
circuit. The notification generation must be throttled
|
||||||
with at least 5 seconds betweeen successive
|
with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1090,7 +1090,7 @@ module frr-isisd {
|
||||||
"This notification is sent when we receive a PDU
|
"This notification is sent when we receive a PDU
|
||||||
with a different value for the System ID length.
|
with a different value for the System ID length.
|
||||||
The notification generation must be throttled
|
The notification generation must be throttled
|
||||||
with at least 5 seconds betweeen successive
|
with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1114,7 +1114,7 @@ module frr-isisd {
|
||||||
"This notification is sent when we receive a PDU
|
"This notification is sent when we receive a PDU
|
||||||
with a different value for the Maximum Area Addresses.
|
with a different value for the Maximum Area Addresses.
|
||||||
The notification generation must be throttled
|
The notification generation must be throttled
|
||||||
with at least 5 seconds betweeen successive
|
with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1170,7 +1170,7 @@ module frr-isisd {
|
||||||
"This notification is sent when the system receives a
|
"This notification is sent when the system receives a
|
||||||
PDU with the wrong authentication type field.
|
PDU with the wrong authentication type field.
|
||||||
The notification generation must be throttled
|
The notification generation must be throttled
|
||||||
with at least 5 seconds betweeen successive
|
with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1188,7 +1188,7 @@ module frr-isisd {
|
||||||
"This notification is sent when the system receives
|
"This notification is sent when the system receives
|
||||||
a PDU with the wrong authentication information.
|
a PDU with the wrong authentication information.
|
||||||
The notification generation must be throttled with
|
The notification generation must be throttled with
|
||||||
with at least 5 seconds betweeen successive
|
with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1206,7 +1206,7 @@ module frr-isisd {
|
||||||
"This notification is sent when the system receives a
|
"This notification is sent when the system receives a
|
||||||
PDU with a different protocol version number.
|
PDU with a different protocol version number.
|
||||||
The notification generation must be throttled
|
The notification generation must be throttled
|
||||||
with at least 5 seconds betweeen successive
|
with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1230,7 +1230,7 @@ module frr-isisd {
|
||||||
"This notification is sent when the system receives a
|
"This notification is sent when the system receives a
|
||||||
Hello PDU from an IS that does not share any area
|
Hello PDU from an IS that does not share any area
|
||||||
address. The notification generation must be throttled
|
address. The notification generation must be throttled
|
||||||
with at least 5 seconds betweeen successive
|
with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1248,7 +1248,7 @@ module frr-isisd {
|
||||||
"This notification is sent when the system receives a
|
"This notification is sent when the system receives a
|
||||||
Hello PDU from an IS but does not establish an adjacency
|
Hello PDU from an IS but does not establish an adjacency
|
||||||
for some reason. The notification generation must be
|
for some reason. The notification generation must be
|
||||||
throttled with at least 5 seconds betweeen successive
|
throttled with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1273,7 +1273,7 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"This notification is sent when the system receives an
|
"This notification is sent when the system receives an
|
||||||
LSP with a parse error. The notification generation must
|
LSP with a parse error. The notification generation must
|
||||||
be throttled with at least 5 seconds betweeen successive
|
be throttled with at least 5 seconds between successive
|
||||||
notifications.";
|
notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
|
@ -1350,7 +1350,7 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"This notification is sent when an LSP is received.
|
"This notification is sent when an LSP is received.
|
||||||
The notification generation must be throttled with at
|
The notification generation must be throttled with at
|
||||||
least 5 seconds betweeen successive notifications.";
|
least 5 seconds between successive notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
uses notification-interface-hdr;
|
uses notification-interface-hdr;
|
||||||
|
@ -1384,7 +1384,7 @@ module frr-isisd {
|
||||||
description
|
description
|
||||||
"This notification is sent when an LSP is regenerated.
|
"This notification is sent when an LSP is regenerated.
|
||||||
The notification generation must be throttled with at
|
The notification generation must be throttled with at
|
||||||
least 5 seconds betweeen successive notifications.";
|
least 5 seconds between successive notifications.";
|
||||||
uses notification-instance-hdr;
|
uses notification-instance-hdr;
|
||||||
|
|
||||||
leaf lsp-id {
|
leaf lsp-id {
|
||||||
|
|
|
@ -659,7 +659,7 @@ static struct log_ref ferr_zebra_err[] = {
|
||||||
{
|
{
|
||||||
.code = EC_ZEBRA_RTM_VERSION_MISMATCH,
|
.code = EC_ZEBRA_RTM_VERSION_MISMATCH,
|
||||||
.title =
|
.title =
|
||||||
"Zebra received kernel message with uknown version",
|
"Zebra received kernel message with unknown version",
|
||||||
.description =
|
.description =
|
||||||
"Zebra received a message from the kernel with a message version that does not match Zebra's internal version. Depending on version compatibility, this may cause issues sending and receiving messages to the kernel.",
|
"Zebra received a message from the kernel with a message version that does not match Zebra's internal version. Depending on version compatibility, this may cause issues sending and receiving messages to the kernel.",
|
||||||
.suggestion =
|
.suggestion =
|
||||||
|
|
|
@ -6772,7 +6772,7 @@ int zebra_vxlan_clear_dup_detect_vni_ip(struct vty *vty,
|
||||||
|
|
||||||
if (!CHECK_FLAG(nbr->flags, ZEBRA_NEIGH_DUPLICATE)) {
|
if (!CHECK_FLAG(nbr->flags, ZEBRA_NEIGH_DUPLICATE)) {
|
||||||
vty_out(vty,
|
vty_out(vty,
|
||||||
"%% Requsted host IP %s is not duplicate detected\n",
|
"%% Requested host IP %s is not duplicate detected\n",
|
||||||
buf);
|
buf);
|
||||||
return CMD_WARNING;
|
return CMD_WARNING;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue