some debug output
need to set / again (was replaced with 0-byte)
variable ipaddr in alloc_route() not necessary