summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
AgeCommit message (Expand)Author
2017-07-08Always use strcasecmp() when comparing user input to optionKenneth R Westerback
2017-07-08Always use uintNN_t instead of sometimes u_intNN_tKenneth R Westerback
2017-07-07Replace the many occurances of '256' with a new #defineKenneth R Westerback
2017-07-05Remove knowledge of struct interface_info from clparse.c. JustKenneth R Westerback
2017-06-29Nuke undocumented long-deprecated and/or unsupported leaseKenneth R Westerback
2017-06-16Nuke 'is_bootp' field and just use a #define to check if the leaseKenneth R Westerback
2017-06-14Move active, new, offered_leases, leases fromKenneth R Westerback
2017-06-10Nuke unused field bootp_policy and associated enum{}.Kenneth R Westerback
2017-04-08Reduce the overburden of signed vs unsigned comparisons by sprinklingKenneth R Westerback
2017-04-04Treat SSID's like the 0 to 32 bytes of uint8_t data that they reallyKenneth R Westerback
2017-04-03Change parse_string() to take an optional integer pointer that canKenneth R Westerback
2017-04-03Tweak parse_string() to not consume the ';'. Simplifies/shortensKenneth R Westerback
2017-04-03Tweak 'expecting' parse_warn() messages to be more consistent.Kenneth R Westerback
2017-02-12Adjust lines that are too long.Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2016-10-06Add support for RFC 6842, which says the client MUST drop packets whenKenneth R Westerback
2016-09-30Zap stray whitespace.Kenneth R Westerback
2016-09-01Cut back the default values for the various timeout/interval values. We noKenneth R Westerback
2016-09-01Informative comments describing the various timing fields (initial_interval,Kenneth R Westerback
2016-08-31Remove the 'client' global and make it per-ifp.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
2016-08-16Track SSID in leases file and only consider leases from the current SSID whenKenneth R Westerback
2016-07-31Ask for DHO_BOOTFILE_NAME and DHO_TFTP_SERVER by default. May proveKenneth R Westerback
2016-06-03The networks I use are sufficiently fast that a 10 second "reboot" timeoutTed Unangst
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-10-26Give dhclient(8) the ability to use option 119, a.k.a. "DomainKenneth R Westerback
2015-05-18Tweak parsing so that hostnames starting with 0-9 are accepted.Kenneth R Westerback
2015-02-01free(NULL) works, so stop checking for non-zero length allocationKenneth R Westerback
2014-11-03Don't leak static leases when the 'lease {}' parsing fails or one staticKenneth R Westerback
2014-11-02Pesky whitespace and spurious parenthesis.Kenneth R Westerback
2014-10-27Zap extraneous whitespace and a stuttered extra 'break;'.Kenneth R Westerback
2014-05-12Since all static leases are in one file, /etc/dhclient.conf, there is noKenneth R Westerback
2014-05-11Rework/restore recorded lease handling. Actually use 'lease'Kenneth R Westerback
2014-05-05Zap trailing whitespace. Started by pointed comments from andre@.Kenneth R Westerback
2014-05-05A couple of malloc()+memset(0) -> calloc.Kenneth R Westerback
2014-01-25Correct parsing of dhclient.conf statements 'fixed-address' andKenneth R Westerback
2014-01-21Allow dhclient.conf to specify 'fixed-address', 'next-server',Kenneth R Westerback
2014-01-21Add parsing for options 121 (classless-static-routes) and 249Kenneth R Westerback
2014-01-20Don't silently skip the next statement when encountering anKenneth R Westerback
2014-01-20Cast pointer to (u_int8_t *) when assigning it to a u_int8_t *Kenneth R Westerback
2014-01-19We don't have any (and I can't find elsewhere) signed 16 bit orKenneth R Westerback
2014-01-19Redo the parsing of numbers to improve the error messages andKenneth R Westerback
2014-01-19Rename parse_hardware_param() to parse_ethernet() to reflect whatKenneth R Westerback
2014-01-18Remove superfluous assignment to local variable 'val' just beforeKenneth R Westerback
2014-01-18Make parse_warn() messages consistantly use 'expecting' ratherKenneth R Westerback
2014-01-18Never silently consume the following statement when unexpectedlyKenneth R Westerback
2014-01-17Make parse_X return -1 when it encounters a parsing error. EnablesKenneth R Westerback
2014-01-13peek_token() a bit more to replace a bunch of manual checks withKenneth R Westerback
2014-01-13Don't eat another token looking for a ';' after skip_to_semi() hasKenneth R Westerback
2014-01-13No need to 'clear the peek buffer' when closing a file. The nextKenneth R Westerback