selftests: mptcp: add the port argument for set_flags
authorGeliang Tang <geliang.tang@suse.com>
Sat, 5 Feb 2022 00:03:30 +0000 (16:03 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Feb 2022 04:30:23 +0000 (20:30 -0800)
commitd6a676e0e1a888c2b78de7544c48bd3cfd4d8902
tree9a243b1b201b1d020f781924323cffd555ebb24c
parent09f12c3ab7a5dc30c4efc6a530891f377d9ba1f4
selftests: mptcp: add the port argument for set_flags

This patch added the port argument for setting the address flags in
pm_nl_ctl.

Usage:

    pm_nl_ctl set 10.0.2.1 flags backup port 10100

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/pm_nl_ctl.c