summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2007-01-12make the description match synopsis for -chs;Jason McIntyre
discussed with nick
2007-01-11avoid an ugly grammar construction;Jason McIntyre
2007-01-11make the description of -e point to the COMMAND MODE section;Jason McIntyre
2007-01-11Move options into DESCRIPTION section. This conforms with mostRay Lai
other man pages, where the options are near the top of the page for easy access. OK jmc@.
2007-01-11Since bootp_packet_handler is always set to do_packet before weKenneth R Westerback
process any packets, eliminate that abstraction and just call do_packet directly. No functional change. ok stevesk
2007-01-11remove unused #define DHCP_MIN_LENKevin Steves
2007-01-11Reject all packets with an option claiming to extend past the end ofKenneth R Westerback
an option buffer. No longer accept the 6th such packet. From ISC. ok ckuethe@ stevesk@
2007-01-10allow rule if there is at least _one_ matching address family combination.Markus Friedl
this allows 'flow from lo0 to 127.0.0.1' if lo0 has an ipv6 address. ok itojun@, hshoexer@
2007-01-10add -k to usage();Jason McIntyre
2007-01-08Don't leak strings.Kenneth R Westerback
ok miod@
2007-01-08Initialize incoming packet buffer with DHO_END (0xff) rather thanKenneth R Westerback
DHO_PAD (0x00) so that option scanning will terminate on hitting initialized data rather than scanning and ignoring trailing DHO_PAD characters. Suggested by & ok stevesk
2007-01-06Fix options parsing. Last commit lost the proper length of theKenneth R Westerback
incoming packet. But since we bzero() the packet buffer before copying the incoming data into it, and the options are at the end, and we use a fixed sized buffer, and 0's are ignored as pad options, and proper option lists end with 0xff, it's simplier to always try to scan the whole buffer. Problem found by, and patch tested by kettenis@.
2007-01-06pretty up the sensor outputs a wee bit more; partly spotted by jsgTheo de Raadt
2007-01-04Eliminate the 'len' parameter from send_packet() since it alwaysKenneth R Westerback
contains the global value client->packet_length. Use client->packet_length. No functional change. Suggested by stevesk@.
2007-01-04Another round of cleanup. There is only one instance of structKenneth R Westerback
dhcp_packet and it is contained in the global *client. So don't pass around pointers to a struct that contains a pointer to the dhcp_packet instance. Just use the global client->packet. Eliminate unused struct packet members and parameter lists accordingly. No functional change. Suggestions by stevesk@. ok stevesk@
2007-01-04don't pass -1 as a netmask; report vicviq at gmail.comMarkus Friedl
2007-01-04<sys/un.h> not neededKevin Steves
2007-01-03do not print secret keys by default, -k restores old behaviour; ok hshoexerMarkus Friedl
2007-01-02better support for IPv6 hostname/numeric representation.Jun-ichiro itojun Hagino
hostname/prefixlen works only for IPv4-only hostname. markus ok (regress tested)
2007-01-02return is no function.Marc Balmer
2007-01-01some minor improvements;Jason McIntyre
2007-01-01find a better place for EXAMPLES;Jason McIntyre
2007-01-01- use "interface", not "interface-name", consistentlyJason McIntyre
- mark up "interface" consistently - a little .Sx
2007-01-01sort the list of parameters brconfig(8) accepts;Jason McIntyre
2007-01-01- merge first two synopsesJason McIntyre
- standard options list - sync usage() started by a diff from stevesk; usage() help from dlg; ok reyk;
2006-12-31-A before -a;Jason McIntyre
2006-12-30add -A to usage().Reyk Floeter
thanks to Sven-Volker Nowarra
2006-12-29Route warns about a illegal prefixlen when a default inet6 route is present.Claudio Jeker
Need to typecast the sizeof() to int so that the compare works. Having a negativ lim is OK. Reported by Björn Ketelaars. OK deraadt@
2006-12-28please lintTheo de Raadt
2006-12-28parenthesis not needed here; consistent with usage in other areas.Kevin Steves
no binary change.
2006-12-28small knf (extra space, newline)Kevin Steves
2006-12-28no extra "\n" in note(); ok krw@ henning@Kevin Steves
2006-12-27Since we only have the single global struct interface_info, weKenneth R Westerback
obviously have single global struct client_state and struct client_config nested inside interface_info and client_state respectively. Pull them out to their own global variables and eliminate a bunch (i.e. hundreds) of multi-level dereferences. Make it much nicer to read. No functional change. "makes sense" henning@ Testing stevesk@, ok stevesk@
2006-12-26Our dhclient only handles one interface. Simplify code by using theKenneth R Westerback
single, global, instance of 'struct interface_info' (ifi) rather than passing around pointers to it. "I agree" henning@ Testing moritz@ stevesk@, ok stevesk@
2006-12-26fts_read returning NULL and errno set is an error. ok ray@Otto Moerbeek
2006-12-26There must be no alias address set, so check ifi->client->aliasMoritz Jodeit
for NULL before dereferencing it. OK henning@ krw@ deraadt@
2006-12-26Show more digits in timedelta sensor output as the timedelta sensors becomeMarc Balmer
increasingly more precise. ok deraadt
2006-12-24it is not permitted to change the "hellotime" is in RSTP, but in STP mode.Reyk Floeter
thanks to Edy (email at edylie dot net) ok jmc@ oh spanning tree, oh spanning tree, ...
2006-12-24Remove m88k compiler flags tweak which is no longer necessary since a long timeMiod Vallat
already.
2006-12-24zap incorrect commentDamien Miller
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-12-22delete prototypes for functions that don't existKevin Steves
2006-12-20make a list of default interface groups;Jason McIntyre
ok grange deraadt ray(plus tweaks) henning
2006-12-19no need for -DJun-ichiro itojun Hagino
2006-12-18remove statement for send parameter: "except that the client canKevin Steves
specify a dhcp-lease-time option other than the default requested lease time, which is two hours". we don't by default send a dhcp-lease-time option in request/discover. ok jmc@, henning@ 'if you are sure'
2006-12-18this is clearer and consistent with other areas; ok henning@Kevin Steves
2006-12-18call ike_setup_ids from a more appropriate location.Mathieu Sauve-Frankel
ok hshoexer@
2006-12-17remove ASSERT_STATE() macro which is a NOOP, no binary change; ok henning@Kevin Steves
2006-12-17fix commentKevin Steves
2006-12-16make /sbin/dhclient-script consistent with other paths; ok henning@Kevin Steves