]> git.proxmox.com Git - mirror_iproute2.git/commit
mptcp: show all endpoints when no ID is specified
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Fri, 24 Jul 2020 12:17:18 +0000 (14:17 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 27 Jul 2020 23:39:58 +0000 (16:39 -0700)
commit3a53ff7e587cd26e7dc5285b0a78716928270554
treef6ed8a769707424eaa6d59afb97efbff3464bc7a
parent848b1b8e0476830b2630c257e890933c1ed8d4fd
mptcp: show all endpoints when no ID is specified

According to 'ip mptcp help', 'endpoint show' can accept no argument:

  ip mptcp endpoint show [ id ID ]

It makes sense to print all endpoints when no filter is used.

So here if the following command is used, all endpoints are printed:

  ip mptcp endpoint show

Same as:

  ip mptcp endpoint

Fixes: 7e0767cd ("add support for mptcp netlink interface")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipmptcp.c