summaryrefslogtreecommitdiffstats
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
commit059feb1c7e42ca29dede49b00c1073baf68b19b9 (patch)
treef784c66644dfb367b2c7237960f262a85cb5ad57 /isisd/isis_zebra.c
parentf8a631db73dcac5fe49305ff0c420617d97e102d (diff)
downloadquagga-059feb1c7e42ca29dede49b00c1073baf68b19b9.tar.bz2
quagga-059feb1c7e42ca29dede49b00c1073baf68b19b9.tar.xz
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);