From: Guillaume Nault Date: Fri, 8 Nov 2019 17:00:14 +0000 (+0100) Subject: ipnetns: fix misleading comment about 'ip monitor nsid' X-Git-Tag: v5.5.0~57^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df6da60bcba47e02483484a726d021d5b61ab5d1;p=thirdparty%2Fiproute2.git ipnetns: fix misleading comment about 'ip monitor nsid' 'ip monitor nsid' doesn't call print_nsid(). Signed-off-by: Guillaume Nault Signed-off-by: David Ahern --- diff --git a/ip/ipnetns.c b/ip/ipnetns.c index 06a773e43..5ab99a680 100644 --- a/ip/ipnetns.c +++ b/ip/ipnetns.c @@ -340,7 +340,7 @@ int print_nsid(struct nlmsghdr *n, void *arg) netns_map_del(c); } - /* During 'ip monitor nsid', no chance to have new nsid in cache. */ + /* nsid might not be in cache */ if (c == NULL && n->nlmsg_type == RTM_NEWNSID) if (netns_get_name(nsid, name) == 0) { print_string(PRINT_ANY, "name",