summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2018-10-25 20:06:59 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2018-10-25 20:10:57 +0200
commit0437e10517aa0b6c2e3490626333a0082ff4c79f (patch)
tree498f2d6f82500fb304e37771d21d48c6185d089f /lib
parentMerge pull request #3121 from pguibert6WIND/flowspec_json_issue (diff)
downloadfrr-0437e10517aa0b6c2e3490626333a0082ff4c79f.tar.xz
frr-0437e10517aa0b6c2e3490626333a0082ff4c79f.zip
*: spelchek
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/bfd.c2
-rw-r--r--lib/command.h2
-rw-r--r--lib/lib_errors.c4
-rw-r--r--lib/mpls.h2
-rw-r--r--lib/sockunion.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/bfd.c b/lib/bfd.c
index 1dfe583ca..178c203f5 100644
--- a/lib/bfd.c
+++ b/lib/bfd.c
@@ -134,7 +134,7 @@ void bfd_peer_sendmsg(struct zclient *zclient, struct bfd_info *bfd_info,
int ret;
int len;
- /* Individual reg/dereg messages are supressed during shutdown. */
+ /* Individual reg/dereg messages are suppressed during shutdown. */
if (CHECK_FLAG(bfd_gbl.flags, BFD_GBL_FLAG_IN_SHUTDOWN)) {
if (bfd_debug)
zlog_debug(
diff --git a/lib/command.h b/lib/command.h
index fbff1e67f..de65c8bd9 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -355,7 +355,7 @@ struct cmd_node {
#define IN_STR "Filter incoming routing updates\n"
#define V4NOTATION_STR "specify by IPv4 address notation(e.g. 0.0.0.0)\n"
#define OSPF6_NUMBER_STR "Specify by number\n"
-#define INTERFACE_STR "Interface infomation\n"
+#define INTERFACE_STR "Interface information\n"
#define IFNAME_STR "Interface name(e.g. ep0)\n"
#define IP6_STR "IPv6 Information\n"
#define OSPF6_STR "Open Shortest Path First (OSPF) for IPv6\n"
diff --git a/lib/lib_errors.c b/lib/lib_errors.c
index 03ad974da..ad83ef1e5 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -89,8 +89,8 @@ static struct log_ref ferr_lib_err[] = {
{
.code = EC_LIB_SOCKET,
.title = "Socket Error",
- .description = "When attempting to access a socket a system error has occured and we were unable to properly complete the request",
- .suggestion = "Ensure that there are sufficient system resources available and ensure that the frr user has sufficient permisions to work. If necessary open an Issue",
+ .description = "When attempting to access a socket a system error has occurred and we were unable to properly complete the request",
+ .suggestion = "Ensure that there are sufficient system resources available and ensure that the frr user has sufficient permissions to work. If necessary open an Issue",
},
{
.code = EC_LIB_ZAPI_MISSMATCH,
diff --git a/lib/mpls.h b/lib/mpls.h
index c9dd60dce..614698561 100644
--- a/lib/mpls.h
+++ b/lib/mpls.h
@@ -171,7 +171,7 @@ static inline char *label2str(mpls_label_t label, char *buf, size_t len)
strlcpy(buf, "Router Alert", len);
return (buf);
case MPLS_LABEL_IPV6_EXPLICIT_NULL:
- strlcpy(buf, "IPv6 Explict Null", len);
+ strlcpy(buf, "IPv6 Explicit Null", len);
return (buf);
case MPLS_LABEL_IMPLICIT_NULL:
strlcpy(buf, "implicit-null", len);
diff --git a/lib/sockunion.c b/lib/sockunion.c
index bee82a067..af4f41f37 100644
--- a/lib/sockunion.c
+++ b/lib/sockunion.c
@@ -356,7 +356,7 @@ int sockopt_ttl(int family, int sock, int ttl)
* Which on linux is a no-op since it is enabled by
* default and on BSD it uses TCP_NOPUSH to do
* the same thing( which it was not configured to
- * use). This cleanup of the api occured on 8/1/17
+ * use). This cleanup of the api occurred on 8/1/17
* I imagine if after more than 1 year of no-one
* complaining, and a major upgrade release we
* can deprecate and remove this function call