Bug 825708: calulate priority based on interface properties.