summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2009-11-26Silence dhclient by immediately exiting if the interface doesn't existKenneth R Westerback
2009-11-12Make sure we have enough space for the trailing \0 on prepend/appendJonathan Gray
2009-07-19use addr_eq() where we can; ok krw@Kevin Steves
2009-06-12state_panic() tries the active then other valid leases by setting theKevin Steves
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
2009-06-03Use the new powerful route flush to clean up the mess. With this multipleClaudio Jeker
2009-06-03remove unneeded ARGSUSED; ok krw@ henning@Kevin Steves
2009-05-27add missing else; from ISC.Kevin Steves
2009-05-25log the reason before we die in routehandler(); ok krw@ henning@Kevin Steves
2009-05-20Do not fall back to using nobody if _user is missing, butThordur I. Bjornsson
2009-03-31claudio has spent too much time with the mbuf macros.David Gwynne
2009-03-10Add 6-byte MAC address to the log entries for DHCP ACK/NAK/OFFER.Kenneth R Westerback
2009-02-19'(ifi->linkstat && ifi && ifi->rfdesc != -1)' is flawed. Swap theKenneth R Westerback
2009-02-01Let this compile with gcc2.Miod Vallat
2009-01-28use claudios new rtsocket filters to restrict which messages on the routeDavid Gwynne
2009-01-24improve indentation without wasting space on the install media;Igor Sobrado
2009-01-24Improve comment about resolv.conf creation. Prodded by sobrado@.Kenneth R Westerback
2009-01-10Use the kernel set ifam_hdrlen so that ABI changes won't cause olderClaudio Jeker
2008-10-05- talk about the "client configuration script" consistenlyJason McIntyre
2008-10-05Oops. Missed one typo jmc@ spotted.Kenneth R Westerback
2008-10-05Clarify discussion of option modifiers. They only affect values passedKenneth R Westerback
2008-06-07stop spurious "got link" which nooone noticed, but everyone should have; ok krwTheo de Raadt
2008-05-26If an interface has no link at startup, try to force it up, and thenTheo de Raadt
2008-05-09- don't give up when the link is not available on startup: dhclientReyk Floeter
2008-03-12Code was not passing script exit status; fix with macro.Hugh Graham
2007-11-12dont spew debug output when the SIOCGIFMEDIA ioctl errors with ENOTTY.David Gwynne
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
2007-10-16"script" does not belong in the lease declaration section;Jason McIntyre
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-14make default_lease_time a #define; ok krw@ henning@Kevin Steves
2007-08-11Kill a couple of 'echo' statements that can never produce visibleKenneth R Westerback
2007-07-18eliminate duplicate code to open lease file and just open atKevin Steves
2007-06-02safer snprintf construct with more paranoid length calculationPeter Valchev
2007-05-31fix a funny memory miscalculation bug in options parsingPeter Valchev
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-02caret missing, From: "Matthew R. Dempsky" <mrd@alkemio.org>Henning Brauer
2007-03-02and the second use of the spaces array might overflow too, in anotherHenning Brauer
2007-03-02If a syntax error is found past 80 columns, parse_warn accessed memoryHenning Brauer
2007-02-25No point in using zero'd fields in the parsed options. Use the optionsKenneth R Westerback
2007-02-25remove unused/dangling prototypes and comment reference;Kevin Steves
2007-02-25no need to quote/escape here; ok krw@Kevin Steves
2007-02-15make read connection closed message a debug(); ok henning@Kevin Steves
2007-02-14spacing and a typo that fell out of the readTheo de Raadt
2007-02-14use errwarn functions vs. syslog(); ok henning@ krw@Kevin Steves
2007-02-13move includes only needed in dhclient.c; ok henning@Kevin Steves
2007-02-13error check socket() return; ok henning@Kevin Steves
2007-02-01Don't count ethernet as overhead for UDP packet constuction. GivesKenneth R Westerback
2007-01-29Don't malloc memory to store option data in leases, just appropriateKenneth R Westerback
2007-01-27We only poll on the bpf fd and the routing socket fd. No need forKenneth R Westerback
2007-01-25Cleanup some more code. Eliminate dhcp(), bootp(), parse_options() byKenneth R Westerback