summaryrefslogtreecommitdiff
path: root/isisd/isis_zebra.c
diff options
context:
space:
mode:
authorhasso <hasso>2003-12-23 11:51:08 +0000
committerhasso <hasso>2003-12-23 11:51:08 +0000
commit2097cd8a7a1322b2853f1b9cbbe7f39c436f553e (patch)
treeab849230440ac6429f6d2caea41d36cb893f0c8d /isisd/isis_zebra.c
parent5a514b14c706d671a041862c072af08a2baab98e (diff)
Some fixes to isisd done by me and Cougar in the spring of 2003. See
changelog for details.
Diffstat (limited to 'isisd/isis_zebra.c')
-rw-r--r--isisd/isis_zebra.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c
index d9179f91..3b83e7a1 100644
--- a/isisd/isis_zebra.c
+++ b/isisd/isis_zebra.c
@@ -232,7 +232,9 @@ isis_zebra_route_add_ipv4 (struct prefix *prefix,
SET_FLAG (message, ZAPI_MESSAGE_NEXTHOP);
SET_FLAG (message, ZAPI_MESSAGE_METRIC);
+#if 0
SET_FLAG (message, ZAPI_MESSAGE_DISTANCE);
+#endif
stream = zclient->obuf;
stream_reset (stream);
@@ -265,8 +267,10 @@ isis_zebra_route_add_ipv4 (struct prefix *prefix,
stream_putl (stream, nexthop->ifindex);
}
}
+#if 0
if (CHECK_FLAG (message, ZAPI_MESSAGE_DISTANCE))
stream_putc (stream, route_info->depth);
+#endif
if (CHECK_FLAG (message, ZAPI_MESSAGE_METRIC))
stream_putl (stream, route_info->cost);