aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@cumulusnetworks.com>2019-12-16 15:43:39 +0900
committerStephen Hemminger <stephen@networkplumber.org>2019-12-16 20:49:28 -0800
commit43b0b6ec840c27bd9b8d014f338d0235cb2618a0 (patch)
treed4aac706dc41d83debe5bbb64cf1612e6dd4e55f
parentd88a6a98e86da9446487ecc4f1fea435323ef21d (diff)
downloadiproute2-43b0b6ec840c27bd9b8d014f338d0235cb2618a0.tar.gz
bridge: Fix typo in error messages
Fixes: 9eff0e5cc447 ("bridge: Add vlan configuration support") Fixes: 7abf5de677e3 ("bridge: vlan: add support to display per-vlan statistics") Signed-off-by: Benjamin Poirier <bpoirier@cumulusnetworks.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--bridge/vlan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/vlan.c b/bridge/vlan.c
index 6d33b0a99..6dc694b65 100644
--- a/bridge/vlan.c
+++ b/bridge/vlan.c
@@ -576,7 +576,7 @@ static int vlan_show(int argc, char **argv)
(compress_vlans ?
RTEXT_FILTER_BRVLAN_COMPRESSED :
RTEXT_FILTER_BRVLAN)) < 0) {
- perror("Cannont send dump request");
+ perror("Cannot send dump request");
exit(1);
}
@@ -601,7 +601,7 @@ static int vlan_show(int argc, char **argv)
filt_mask = IFLA_STATS_FILTER_BIT(IFLA_STATS_LINK_XSTATS);
if (rtnl_statsdump_req_filter(&rth, AF_UNSPEC, filt_mask) < 0) {
- perror("Cannont send dump request");
+ perror("Cannot send dump request");
exit(1);
}
@@ -615,7 +615,7 @@ static int vlan_show(int argc, char **argv)
filt_mask = IFLA_STATS_FILTER_BIT(IFLA_STATS_LINK_XSTATS_SLAVE);
if (rtnl_statsdump_req_filter(&rth, AF_UNSPEC, filt_mask) < 0) {
- perror("Cannont send slave dump request");
+ perror("Cannot send slave dump request");
exit(1);
}