fix inter-lan forwarding when more than two LANs defined