Fix learning routes when there is only one gateway
Fix learning routes when there is only one gateway

rsanger/RouteFlow,rsanger/RouteFlow,rsanger/RouteFlow,rsanger/RouteFlow,rsanger/RouteFlow,rsanger/RouteFlow