commit | d699bab721eb59d60b0483ff0d8e2d8d37e7ea68 | [log] [tgz] |
---|---|---|
author | Michal Kubecek <mkubecek@suse.cz> | Fri Dec 17 18:56:25 2021 +0100 |
committer | Michal Kubecek <mkubecek@suse.cz> | Fri Dec 17 18:56:25 2021 +0100 |
tree | f015e2ffb7f885664b9bf621a32c3c4610af5cf7 | |
parent | 52db6b91ec35c8e40230326280cb9f83f95dff7a [diff] | |
parent | 32457a912a5793bc75d0e55a83bf7eceb9e2cf8b [diff] |
Merge branch 'master' into next
diff --git a/netlink/monitor.c b/netlink/monitor.c index e538f77..ace9b25 100644 --- a/netlink/monitor.c +++ b/netlink/monitor.c
@@ -310,6 +310,8 @@ stdout); fputs(" ( [ --all ]", stdout); for (i = 1; i < MNL_ARRAY_SIZE(monitor_opts); i++) { + if (!strcmp(monitor_opts[i].pattern, monitor_opts[i - 1].pattern)) + continue; fputs("\n | ", stdout); for (p = monitor_opts[i].pattern; *p; p++) if (*p == '|')