summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/sync.c
AgeCommit message (Expand)Author
2022-01-05dhcpd: straightforward conversion to HMAC_CTX on the heap, similarTheo Buehler
2017-02-13Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() andKenneth R Westerback
2017-02-13Adjust some long lines.Kenneth R Westerback
2017-02-13Do the strerror() elimination dance with log_warnx() -> log_warn(),Kenneth R Westerback
2017-02-13Switch from old errwarn.c logging to shiny new log.[ch].Kenneth R Westerback
2016-10-21- Use memset(*b, 0, len) instead of bzero(*b, len)Ricardo Mestre
2016-10-04Zap stray whitespace.Kenneth R Westerback
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-10-18Scattering a few bcopy()'s around source using mostly memcpy() is justKenneth R Westerback
2013-10-18%d -> %lld, add (long long) cast to time_t variables. Make guentherKenneth R Westerback
2013-04-22When sync'ing, look for lease by hwaddr and then ipaddr. Not hwaddrKenneth R Westerback
2013-04-13Give struct dhcp_synctlv_lease fields a prefix (lv_) as the fieldsKenneth R Westerback
2013-04-12Unbreak lease synchronization by making the sync header contain theKenneth R Westerback
2010-12-23Use the provided note() and warning() functions of dhcpd instead ofClaudio Jeker
2010-03-27malloc/strlcpy -> strdup. Use consistent idiom.Kenneth R Westerback
2010-01-03unused prototypeTheo de Raadt
2008-09-15When checking if a syscall like open(), ioctl() or writev() failed compareClaudio Jeker
2008-05-30correct size of iov[]; ralf.horstmann@gmx.deTheo de Raadt
2008-05-11fix sync.c to not puke if sync_lease called without sync_init.Bob Beck
2008-05-08Insert pad blocks after sub-messages to keep the structures aligned toTheo de Raadt
2008-05-08this should really only be in one file.Bob Beck
2008-05-08don't break dhcpd when not using synch mechanisms..Bob Beck
2008-05-07Add synchronisation support for dhcpd - this allows for two dhcpd'sBob Beck