platform: adjust route weight before applying it to kernel
When applying the ECMP nexthops to kernel we need to decrease the value by one. This is also done by other tools like iproute2.
Fixes: 1bbdecf5 ('platform: manage ECMP routes')
When applying the ECMP nexthops to kernel we need to decrease the value by one. This is also done by other tools like iproute2.
Fixes: 1bbdecf5 ('platform: manage ECMP routes')