Attempts to fix broken bind code.

This patch, if we're lucky, will get dumped at some point, but Barret
needs to see it.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>