fix route sorting order
authorFelix Fietkau <nbd@openwrt.org>
Fri, 5 Apr 2013 11:14:44 +0000 (13:14 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 5 Apr 2013 11:16:37 +0000 (13:16 +0200)
commit8dacaf753b57c703f215b0c844b412b64183ac81
tree240e471c05e1205fd978990675e1ea266642da2c
parentf00c15327f25cc68177d0e13f732c2fec54bf1c2
fix route sorting order

New sorting order:
 - prefix length (descending)
 - metric (ascending)
 - flags
 - target address

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
interface-ip.c
proto.c