summaryrefslogtreecommitdiff
path: root/usr.sbin/ndp
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-22PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callsKenneth R Westerback
2019-01-21Zap unused ntop_bufkn
2018-07-13Unused variables.Kenneth R Westerback
2018-06-17fix memory leaks: freeaddrinfo() the data from getaddrinfo().Sebastian Benoit
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2017-10-25Remove dead code, found by jsg@.Martin Pieuchot
2017-08-09the recent adjustment of -i means usage() fits nicely onJason McIntyre
2017-08-09Remove knob and always do neighbor unreachable detection.Florian Obser
2017-08-09accept_rtadv doesn't do anything since some time.Florian Obser
2017-07-13Simplify usage and man page synopsis after removal of prefix list andFlorian Obser
2017-07-12Remove defunct code, the kernel no longer providesFlorian Obser
2017-04-15Take implementation for getsocket() from arp(8). This bringsAlexander Bluhm
2017-04-15Let ndp(8) use the process's current routing table by default.Alexander Bluhm
2016-11-29Tweak output to keep it aligned when interfaces with big names, likeMartin Pieuchot
2016-08-15Checking for RTF_BROADCAST here makes no sense.Martin Pieuchot
2016-08-05Using a macro to save 4 chars is mere obfuscation.Jeremie Courreges-Anglas
2016-08-05Kill an unused macroJeremie Courreges-Anglas
2016-08-02Ensure that "lim" is initialized and reset at each loop run.Jeremie Courreges-Anglas
2016-07-31Rename the route socket to a more useful name.Jeremie Courreges-Anglas
2016-07-31Turn two global variables into variables local to main.Jeremie Courreges-Anglas
2016-07-31Duplicated declsJeremie Courreges-Anglas
2016-05-02Kill useless CPPFLAGSJeremie Courreges-Anglas
2016-04-05Describe the format used by -s once, and refer to it when documenting -f.Jeremie Courreges-Anglas
2016-04-05Consistent v6-speak: hostname -> nodename, proxy NDP -> ND proxyJeremie Courreges-Anglas
2016-04-05Pointless commented-out lines; discussed with jmc@Jeremie Courreges-Anglas
2016-04-05etheraddr -> ether_addr, as in arp(8); discussed with jmc@Jeremie Courreges-Anglas
2016-04-04Hook up ndp -f.Jeremie Courreges-Anglas
2016-01-26Use an unsigned int rather than an int when iterating through all 32mmcc
2016-01-12Do not print an error if the list of prefixes is empty.Martin Pieuchot
2015-10-28Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can nowFlorian Obser
2015-10-25backout; many issues remain...Theo de Raadt
2015-10-25pledge the main usage patterns similar to arp(8). Some akkorokamuiTheo de Raadt
2015-10-24chlim has been removed from the nd_ifinfo structure.Matthieu Herrb
2015-10-23ndp -n -d <addr> does dns lookups, even with -n. it should not.Sebastian Benoit
2015-10-05typo.Igor Sobrado
2015-09-11consistency: .Ic -> .Cm; and drop redundant .BkIngo Schwarze
2015-08-23Use simple byte pointer arithmetic and memcpy from/to aligned stackChristian Weisgerber
2015-06-03Explicitly request the sockaddr_dl when doing a RTM_GET rather thanMartin Pieuchot
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-09-07Remove useless comment, snprintf and if/else.Alexander Bluhm
2014-09-03Be coherent in the way arp(8) and ndp(8) display local entries andMartin Pieuchot
2014-08-22switch ndp to display MAC addresses in 00:00:00:00:00:00 format, ok deraadt@Stuart Henderson
2014-08-19Entries for broadcast addresses should also be ignored, just like localMartin Pieuchot
2014-08-11Do not try to delete RTF_LOCAL entries. Such routes are automaticallyMartin Pieuchot
2014-07-12andone last (i hope) accept_rtadv sysctl remnant, also found by jmcHenning Brauer
2013-10-21- -V after -tJason McIntyre
2013-10-21Add rdomain support to IPv6 configuration toolsPeter Hessler
2013-10-07Fix a segfault in ndp -A by not freeing the buffer when not in repeatJeremie Courreges-Anglas