pidfile(): Update to OpenBSD v1.10, to fix resource leak.

Fixes Coverity Scan CID #60564

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
README: Minor update

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
prune.c:accept_mtrace() - Check vifi for NO_VIF before calling VIFM_ISSET()

Fixes Coverity CID #71288

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
accept_probe(): Fix access after free

If a is freed then match could've pointed to a freed segment after the
for-loop.  Found by Coverity Scan, CID #71299

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
kern.c: Fix uninitialized scalar variables

Found by Coverity Scan.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Remove very old mroute kernel workaround.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
mrouted: Change to use stdint.h instead of type unsafe homegrown variants.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
icmp_handler(): Handle EINTR in recvfrom() better.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
prune.c: malloc(sizeof(struct gtable **)) --> malloc(sizeof(struct gtable *))

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Check return value of remove() and mkdir()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
accept_neighbors2(): Fix copy-paste comparison nb_i->threshold != nb_i->threshold

Should likely have been nb_i->threshold != nb_n->threshold instead.
Fixes Coverity Scan CID #71277

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
report_next_chunk(): starting route might be NULL, don't report such chunks

Coverity Scan CID #71282

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>