@@ -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);
}
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(-)