diff options
author | Hangbin Liu <haliu@redhat.com> | 2018-08-06 22:02:09 +0800 |
---|---|---|
committer | Jiri Pirko <jiri@mellanox.com> | 2018-08-06 16:15:16 +0200 |
commit | acccd780df517b0e5925de4497688b6238bee10c (patch) | |
tree | 63a7db7d098501b64594c306fee9be2235caa697 /man | |
parent | 96674e7d4f4d569c2c961e865cc16152dfab5f09 (diff) | |
download | libndp-acccd780df517b0e5925de4497688b6238bee10c.tar.gz |
ndptool: add -T target support
Currently ndptool can send a Neighbour Solicitation, but does not target
an IP address, so the NS packet doesn't really make sense.
Extend ndptool to target a destination for Neighbour Solicitation.
v2:
1) remove function ipv6_addr_is_multicast()
2) inline some help functions.
3) update code style.
4) rename parameter -d/--dest to -T/--target
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/man/ndptool.8 b/man/ndptool.8 index ef765dc..dd6ddee 100644 --- a/man/ndptool.8 +++ b/man/ndptool.8 @@ -42,6 +42,10 @@ Neighbor Advertisement. Specified interface name. .TP +.B "\-T target, \-\-target target" +Specified target address for NS/NA message. + +.TP .B "\-U, \-\-unsolicited" Send Unsolicited NA. |