master
work on making log.c similar in all daemons:
Remove superfluous includes.
Send VPLS MAC withdrawals.
Delete obsolete /* ARGSUSED */ lint comments.
Convert simple stuff in usr.sbin over to new imsgbuf_init behaviour
Do the same control cleanup as in other daemons. Move ctl_conns exclusivly into control.c
Use new ibuf API. Use ibuf_data() and ibuf_size() instead of direct struct access and use ibuf_set_n16() to update the length field. OK tb@
Implement RFC 5919 (LDP End-of-LIB).
More renaming and whitespace cleanup.
improve the Nd lines such that the format is consistent for the various *d, *conf, *ctl files (where relevant) and simple;
Adjust ldpd to the msgbuf change that turns the struct opaque
Do not abuse struct ibuf_read for internal bits. Just define an own struct.
From a syslog perspective it does not make sense to log fatal and warn with the same severity. Switch log_warn() to LOG_ERR and keep fatal() at LOG_CRIT. OK reyk@ florian@
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
inet_pton returns 0 and -1 for error.
Fix theoretical access to garbage stack memory in pfkey_reply for bgpd and ldpd.
rework how tcp md5 signatures are configured.
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech