AODV: maximum selection replaced with std::max().