Fatima Chahrour~Vanrise Support writes:
Isn't putting priority 1 for gateway 1 means take
this gateway of id 1 as
first choice in routing?
smaller priority value means higher priority. but if i remember
correctly, in your script you used append_branch, which may be appending
each new branch in front of the previous one. if so, the priority order
that next_gw() function returns the gateways, get reversed.
-- juha