]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
bridge: Fix typo in error messages
authorBenjamin Poirier <bpoirier@cumulusnetworks.com>
Mon, 16 Dec 2019 06:43:39 +0000 (15:43 +0900)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 17 Dec 2019 04:49:28 +0000 (20:49 -0800)
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>
bridge/vlan.c

index 6d33b0a990a5ed50c068768ea5eb3708dfd44fc1..6dc694b6565b749d69f87e70d0839bf06eedd914 100644 (file)
@@ -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);
                }