efingerd.c: simplify and modernize address lookup