124ea24346
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24311 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
352 B
Diff
12 lines
352 B
Diff
--- a/zebra/zserv.c
|
|
+++ b/zebra/zserv.c
|
|
@@ -451,7 +451,7 @@ zsend_route_multipath (int cmd, struct z
|
|
}
|
|
|
|
/* Metric */
|
|
- if (cmd == ZEBRA_IPV4_ROUTE_ADD || ZEBRA_IPV6_ROUTE_ADD)
|
|
+ if (cmd == ZEBRA_IPV4_ROUTE_ADD || cmd == ZEBRA_IPV6_ROUTE_ADD)
|
|
{
|
|
SET_FLAG (zapi_flags, ZAPI_MESSAGE_DISTANCE);
|
|
stream_putc (s, rib->distance);
|