diff options
author | Hangbin Liu <haliu@redhat.com> | 2019-09-02 19:39:12 +0800 |
---|---|---|
committer | Jiri Pirko <jiri@mellanox.com> | 2019-09-16 08:55:58 +0200 |
commit | e9a35fba03ec3670586fba7debd2e0cb3cd4341e (patch) | |
tree | 4cd22b920fbc5d045d471ad3b5f98b3f00e91219 /man | |
parent | 23490cbf50a9ad62d480a0916c6d0ca61d221afb (diff) | |
download | libndp-e9a35fba03ec3670586fba7debd2e0cb3cd4341e.tar.gz |
ndptool: add -D dest support
This patch add -D dest option, with this option a user could set the dest
address in IPv6 header for solicited NS/NA message
For function ndp_msg_addrto_adjust_solicit_multi(), I moved the check
in ndp_msg_target_set() instead of in the function itself.
I also use reverse christmas tree variable order in the main() function
of ndptool.c.
Signed-off-by: Hangbin Liu <haliu@redhat.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/ndptool.8 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/man/ndptool.8 b/man/ndptool.8 index dd6ddee..fb0dd63 100644 --- a/man/ndptool.8 +++ b/man/ndptool.8 @@ -42,8 +42,12 @@ Neighbor Advertisement. Specified interface name. .TP +.B "\-D dest, \-\-dest dest" +Specified dest address in IPv6 header for NS/NA message. + +.TP .B "\-T target, \-\-target target" -Specified target address for NS/NA message. +Specified target address in ICMPv6 header for NS/NA message. .TP .B "\-U, \-\-unsolicited" |