[iproute2,2/5] bridge: remove slave from comments and message

Message ID 20200623235307.9216-3-stephen@networkplumber.org
State New
Headers show
Series
  • [iproute2,1/5] bpf: replace slave with sub
Related show

Commit Message

Stephen Hemminger June 23, 2020, 11:53 p.m.
No need for slave in comment and message.
Can't change API (yet) since part of Linux uapi.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 bridge/vlan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/bridge/vlan.c b/bridge/vlan.c
index 0d142bc9055d..9128769eaf3d 100644
--- a/bridge/vlan.c
+++ b/bridge/vlan.c
@@ -469,7 +469,7 @@  static void print_vlan_stats_attr(struct rtattr *attr, int ifindex)
 		if (filter_vlan && filter_vlan != vstats->vid)
 			continue;
 
-		/* skip pure port entries, they'll be dumped via the slave stats call */
+		/* skip pure port entries, they'll be dumped via the port stats call */
 		if ((vstats->flags & BRIDGE_VLAN_INFO_MASTER) &&
 		    !(vstats->flags & BRIDGE_VLAN_INFO_BRENTRY))
 			continue;
@@ -592,7 +592,7 @@  static int vlan_show(int argc, char **argv, int subject)
 
 		filt_mask = IFLA_STATS_FILTER_BIT(IFLA_STATS_LINK_XSTATS_SLAVE);
 		if (rtnl_statsdump_req_filter(&rth, AF_UNSPEC, filt_mask) < 0) {
-			perror("Cannot send slave dump request");
+			perror("Cannot send port stats dump request");
 			exit(1);
 		}