From 80c974a8d66a5d70a6006356dc1197bcc1aa9906 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 18 Jan 2013 02:00:51 +0100 Subject: [PATCH] Fix some spelling mistakes. --- src/client/lldpcli.8 | 3 --- src/daemon/lldpd.8 | 2 +- src/daemon/lldpd.c | 2 +- src/lib/lldpctl.h | 4 ++-- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/client/lldpcli.8 b/src/client/lldpcli.8 index 864b4b84..cf05b2c0 100644 --- a/src/client/lldpcli.8 +++ b/src/client/lldpcli.8 @@ -60,7 +60,6 @@ and formats are available. The default is .Em plain . .El - .Pp When invoked as .Nm lldpctl , @@ -68,7 +67,6 @@ When invoked as will display detailed information about each neighbors on the specified interfaces or on all interfaces if none are specified. This command is mostly kept for backward compatibility with older versions. - .Pp The following commands are supported by .Nm . @@ -78,7 +76,6 @@ example, and .Cd sh neigh p eth0 sum are the same command. - .Bd -ragged -offset XX .Cd exit .Bd -ragged -offset XXXXXX diff --git a/src/daemon/lldpd.8 b/src/daemon/lldpd.8 index 614304ef..580439c3 100644 --- a/src/daemon/lldpd.8 +++ b/src/daemon/lldpd.8 @@ -179,7 +179,7 @@ Specify the management addresses of this system. As for interfaces (described below), this option can use wildcards and inversions. Without this option, the first IPv4 and the first IPv6 are used. If only negative patterns are provided, only one IPv4 and one IPv6 -addresses are choosen. Otherwise, many of them can be selected. If you +addresses are chosen. Otherwise, many of them can be selected. If you want to blacklist IPv6 addresses, you can use .Em !*:* . .It Fl I Ar interfaces diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 9f968cd1..356a1260 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -888,7 +888,7 @@ lldpd_update_localchassis(struct lldpd *cfg) if ((LOCAL_CHASSIS(cfg)->c_name = strdup(hp)) == NULL) fatal("localchassis", NULL); if (cfg->g_config.c_description) { - log_debug("localchassis", "use overriden description `%s`", cfg->g_config.c_description); + log_debug("localchassis", "use overridden description `%s`", cfg->g_config.c_description); if (asprintf(&LOCAL_CHASSIS(cfg)->c_descr, "%s", cfg->g_config.c_description) == -1) fatal("localchassis", "failed to set full system description"); diff --git a/src/lib/lldpctl.h b/src/lib/lldpctl.h index b9112c17..f6761ef4 100644 --- a/src/lib/lldpctl.h +++ b/src/lib/lldpctl.h @@ -569,8 +569,8 @@ typedef enum { lldpctl_k_config_mgmt_pattern, /**< `(S)` Pattern to choose the management address */ lldpctl_k_config_iface_pattern, /**< `(S)` Pattern of enabled interfaces */ lldpctl_k_config_cid_pattern, /**< `(S)` Interface pattern to choose the chassis ID */ - lldpctl_k_config_description, /**< `(S)` Chassis description overriden */ - lldpctl_k_config_platform, /**< `(S)` Platform description overriden (CDP) */ + lldpctl_k_config_description, /**< `(S)` Chassis description overridden */ + lldpctl_k_config_platform, /**< `(S)` Platform description overridden (CDP) */ lldpctl_k_config_advertise_version, /**< `(I)` Advertise version */ lldpctl_k_config_lldpmed_noinventory, /**< `(I)` Disable LLDP-MED inventory */ -- 2.39.5