summaryrefslogtreecommitdiff
path: root/sbin/route/route.c
AgeCommit message (Expand)Author
2020-07-07Stop using make_addr() which trims trailing zeros of the netmask, setYASUOKA Masahiko
2020-01-15Replace duplicate error message with gai_strerror(3)kn
2019-11-22The DNS proposal list can (soon) be empty to signal a withdraw, relaxFlorian Obser
2019-11-22Teach route(8) about RTP_PROPOSAL_UMBClaudio Jeker
2019-11-21output RTM_PROPOSALs more similar to other route messagesFlorian Obser
2019-11-16Missing comma after RTM_PROPOSAL source.Kenneth R Westerback
2019-11-16When printing RTM_PROPOSAL and unspecified message types, print theKenneth R Westerback
2019-11-16When printing RTM_PROPOSAL messages use "if#" like all the otherKenneth R Westerback
2019-11-16More %d -> %u for unsigned values.Kenneth R Westerback
2019-11-16Whitespace nit.Kenneth R Westerback
2019-11-16rtm_version, rtm_type, rtm_msglen, rtm_index, rtm_priority, ifan_whatKenneth R Westerback
2019-11-16Remove "(void)" casts from the 2 printf() statements thatKenneth R Westerback
2019-11-09Add RTP_PROPOSAL_SOLICIT to allow unwind(8) to solicit DNS proposalsFlorian Obser
2019-10-27Print interface index and name for RTM_NEWADDR, RTM_DELADDR andKenneth R Westerback
2019-10-25Forgot to add '\30AUTOONF4" to ifnetflags[].Kenneth R Westerback
2019-08-31The algorithm creating the routing addresses in route(8) and arp(6)Alexander Bluhm
2019-08-29The kernel uses rtm_addrs as a bit field for addresses that areAlexander Bluhm
2019-08-29route(8) used inet/inet6 autodetection also for the link addressAlexander Bluhm
2019-03-31Restore -t behaviourkn
2019-01-23Make route(8) show the same flags in RTM_IFINFO messages asKenneth R Westerback
2019-01-22PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() callsKenneth R Westerback
2018-11-12Recognize and display new RTM_80211INFO messages.Kenneth R Westerback
2018-10-15Trust the resolver to give us a sockaddr_in6 sized objectFlorian Obser
2018-08-30Fix "route add 0.0.0.0/0 <gateway>" to work properly. Shift countYASUOKA Masahiko
2018-08-09Drop support for guessing an old-style class A, B, or C netmask fromIngo Schwarze
2018-07-17stop assuming prefix lengths, remove inet6_makenetandmask()kn
2018-07-14Make route monitor display changes in all routing domains by forcingSebastian Benoit
2018-07-13no longer interpret 0.192.168.4 in hosts(5) as 192.168.4/24Ingo Schwarze
2018-07-13Use "rtable" not "tableid" as argument name for rtablekn
2018-07-12RTM_CHGADDRATTR for route monitorFlorian Obser
2018-07-11Use AF_UNSPEC not 0kn
2018-07-10Error out if -netmask/-prefixlen does not follow the destination parameterkn
2018-07-01Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.Martin Pieuchot
2018-06-18Replace hardcoded constants with defineskn
2018-05-01The -d flag should be a no-op in monitor mode since it does not modifyFlorian Obser
2018-05-01Sync p_rttables() to netstat(1) version. Pointed out by claudio andFlorian Obser
2018-04-30* simplify code by no longer calling getnetbyname(3)Ingo Schwarze
2018-04-30tableid is either initialized to the current routing table or to theFlorian Obser
2018-04-30No need to get the whole routing table from the kernel if we areFlorian Obser
2018-04-30Fix route monitor -AF filter.Florian Obser
2018-04-28Improve / simplify pledges.Florian Obser
2018-01-16Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsipMartin Pieuchot
2017-10-18Typo, from Hiltjo Posthuma.Martin Pieuchot
2017-10-17Do not print an extra line if the 'get' command succeeds.Martin Pieuchot
2017-10-16Print the correct message and return an error code when no route entryMartin Pieuchot
2017-09-06backout previous diff:Sebastian Benoit
2017-08-10autodetect AF when setting inet6 default routeSebastian Benoit
2017-08-10allow "del" in addition to "delete"Sebastian Benoit
2017-03-23Fix printf() incantation for non-NULL terminated string.Kenneth R Westerback
2017-03-21getnameinfo errors should go to stderr & should print what's going on.Florian Obser