Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-15 | Checking for RTF_BROADCAST here makes no sense. | Martin Pieuchot | |
2016-08-05 | Using a macro to save 4 chars is mere obfuscation. | Jeremie Courreges-Anglas | |
2016-08-05 | Kill an unused macro | Jeremie Courreges-Anglas | |
...instead of leaving an XXX about it. | |||
2016-08-02 | Ensure that "lim" is initialized and reset at each loop run. | Jeremie Courreges-Anglas | |
Avoids possible invalid memory accesses. ok florian@ | |||
2016-07-31 | Rename the route socket to a more useful name. | Jeremie Courreges-Anglas | |
Avoid a bunch of "warning: declaration of 's' shadows a global declaration" while here. | |||
2016-07-31 | Turn two global variables into variables local to main. | Jeremie Courreges-Anglas | |
2016-07-31 | Duplicated decls | Jeremie Courreges-Anglas | |
2016-05-02 | Kill useless CPPFLAGS | Jeremie Courreges-Anglas | |
usr.sbin/ndp has no #ifdef INET6 test, and doesn't need an explicit -I. directive. ok sha256 mpi@ | |||
2016-04-05 | Describe the format used by -s once, and refer to it when documenting -f. | Jeremie Courreges-Anglas | |
Discussed with jmc@ | |||
2016-04-05 | Consistent v6-speak: hostname -> nodename, proxy NDP -> ND proxy | Jeremie Courreges-Anglas | |
Discussed with jmc@ | |||
2016-04-05 | Pointless commented-out lines; discussed with jmc@ | Jeremie Courreges-Anglas | |
2016-04-05 | etheraddr -> ether_addr, as in arp(8); discussed with jmc@ | Jeremie Courreges-Anglas | |
2016-04-04 | Hook up ndp -f. | Jeremie Courreges-Anglas | |
Initial diff from Dimitris Papastamos. Support from mikeb@, ok benno@. | |||
2016-01-26 | Use an unsigned int rather than an int when iterating through all 32 | mmcc | |
bits in the form: for (i = 1; i; i <<= 1) This avoids undefined operations when shifting into and out of the highest-order bit. ok millert@ | |||
2016-01-12 | Do not print an error if the list of prefixes is empty. | Martin Pieuchot | |
This is becoming more and more comon now that the list is only used for autoconfigured prefix. From Florian Riehm. | |||
2015-10-28 | Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can now | Florian Obser | |
die and ifp->if_mtu is the one true mtu. Suggested by and OK mpi@ | |||
2015-10-25 | backout; many issues remain... | Theo de Raadt | |
2015-10-25 | pledge the main usage patterns similar to arp(8). Some akkorokamui | Theo de Raadt | |
prevent doing this better, someone should try to refactor this more like arp... also figure out what dawn-of-ipv6 options can be removed. ok benno | |||
2015-10-24 | chlim has been removed from the nd_ifinfo structure. | Matthieu Herrb | |
ok kettenis@ | |||
2015-10-23 | ndp -n -d <addr> does dns lookups, even with -n. it should not. | Sebastian Benoit | |
found through pledge. ok deraadt@ | |||
2015-10-05 | typo. | Igor Sobrado | |
2015-09-11 | consistency: .Ic -> .Cm; and drop redundant .Bk | Ingo Schwarze | |
2015-08-23 | Use simple byte pointer arithmetic and memcpy from/to aligned stack | Christian Weisgerber | |
variables to handle the "packed" binary format passed out to userland when querying the prefix/router list. From NetBSD (Martin Husemann). ok mpi@ | |||
2015-06-03 | Explicitly request the sockaddr_dl when doing a RTM_GET rather than | Martin Pieuchot | |
assuming that it will be in the gateway sa. Fixes a regression introduced with the support of multiple connected routes, found the hardway by deraadt@. ok claudio@ | |||
2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | Theo de Raadt | |
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-09-07 | Remove useless comment, snprintf and if/else. | Alexander Bluhm | |
OK mpi@ | |||
2014-09-03 | Be coherent in the way arp(8) and ndp(8) display local entries and | Martin Pieuchot | |
use a new flag `l' to ditinguish them. Also skip broadcast entries, they are not reall ARP entries and will never be resolved to anything, requested by deraadt@. ok bluhm@ | |||
2014-08-22 | switch ndp to display MAC addresses in 00:00:00:00:00:00 format, ok deraadt@ | Stuart Henderson | |
2014-08-19 | Entries for broadcast addresses should also be ignored, just like local | Martin Pieuchot | |
entries. ok florian@, mikeb@, henning@ | |||
2014-08-11 | Do not try to delete RTF_LOCAL entries. Such routes are automatically | Martin Pieuchot | |
created /deleted by the kernel when an IP address is added/removed on/from an interface and should not be manipulated by userland tools. ok henning@, jca@ | |||
2014-07-12 | andone last (i hope) accept_rtadv sysctl remnant, also found by jmc | Henning Brauer | |
2013-10-21 | - -V after -t | Jason McIntyre | |
- fix usage() | |||
2013-10-21 | Add rdomain support to IPv6 configuration tools | Peter Hessler | |
OK claudio@ and bluhm@ | |||
2013-10-07 | Fix a segfault in ndp -A by not freeing the buffer when not in repeat | Jeremie Courreges-Anglas | |
mode. Input from and ok millert@ | |||
2013-08-15 | Reduce the warnings when arp, rarp, ndp are compiled with WARNINGS=yes. | Alexander Bluhm | |
warning: declaration of 'time' shadows a global declaration No binary change; OK lteo@ florian@ henning@ mikeb@ millert@ | |||
2013-08-09 | Remove dead code and useless #include and #ifdef from ndp. | Alexander Bluhm | |
No binary change; OK deraadt@ mpi@ | |||
2013-07-19 | ndp used an int expire_time for time calculation. Convert this | Alexander Bluhm | |
into time_t. OK henning@ florian@ | |||
2013-03-21 | create realloc() loops around sysctl for array-based mibs, in programs | Theo de Raadt | |
which want a "full" dump ok dlg | |||
2013-03-11 | Remove the -I option, even if the ioctls for manipulating a default | Martin Pieuchot | |
interface are defined, nothing use it in the kernel since the on-link assumption behavior removal back in 2004. ok mikeb@, bluhm@, florian@ | |||
2011-04-23 | improve line breaking in SYNOPSIS now that semantics of the .Bk macro | Igor Sobrado | |
has changed to conform with modern groff releases. diff for route6d(8) written mostly by schwarze@, with lots of useful advice from jmc@. ok jmc@, schwarze@ | |||
2010-09-03 | add an EXIT STATUS section for /usr/sbin; | Jason McIntyre | |
2009-06-25 | Another copy of the strange while loop seen in route(8). Add missing | Claudio Jeker | |
RTM_VERSION check. Tested and OK sthen@, OK henning@ | |||
2009-06-17 | Check for the correct RTM_VERSION before accessing anything in the rt message. | Claudio Jeker | |
Fixes a SIGBUS seen on alpha by naddy@. OK naddy@, deraadt@ | |||
2009-06-05 | rtm->rtm_hdrlen conversion | Chris Cappuccio | |
ok claudio@, henning@ | |||
2008-10-02 | get rid of some unneeded $Id stuff | Theo de Raadt | |
2008-06-09 | Correctly round the sockaddrs so that ndp works on 64bit machines. | Claudio Jeker | |
Stupid sockaddr_in6 has the worst size possible. OK henning@ deraadt@ | |||
2008-05-18 | another ndp(8) tweak: its description still talks about "flags" | Igor Sobrado | |
rather than "flag", so kill the .Ar macro to have it read correctly. change suggested by jmc@. ok jmc@ | |||
2008-05-17 | documentation tweaks. | Igor Sobrado | |
ok (some time ago) jmc@ | |||
2008-05-05 | don't install a /128 bit net route for 'proxy' ndp entries | Markus Friedl | |
and show them with ndp -a, too. from KAME rev 1.121; ok henning |