diff options
author | paul <paul> | 2006-01-17 17:33:46 +0000 |
---|---|---|
committer | paul <paul> | 2006-01-17 17:33:46 +0000 |
commit | d3092e7f226c48f7caeac22ad62f39e8d71d9e12 (patch) | |
tree | a4ede38eeab47522eae40c929ed5a4a82d978df5 /isisd | |
parent | 98fd1e61212ea98154e7cc4b6deed41a07794523 (diff) |
[zserv] fix up custom isisd and bgpd Zserv functions for new format.
2006-01-17 Paul Jakma <paul.jakma@sun.com>
* bgp_nexthop.c: (zlookup_read*) convert to new Zserv format.
(zlookup_query_ipv6) ditto.
(bgp_import_check) ditto.
* isis_zebra.c: (isis_zebra_route_add_ipv4) fix for new
zserv format.
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/ChangeLog | 5 | ||||
-rw-r--r-- | isisd/isis_zebra.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/isisd/ChangeLog b/isisd/ChangeLog index fa2a13ae..5e203c8c 100644 --- a/isisd/ChangeLog +++ b/isisd/ChangeLog @@ -1,3 +1,8 @@ +2006-01-17 Paul Jakma <paul.jakma@sun.com> + + * isis_zebra.c: (isis_zebra_route_add_ipv4) fix for new + zserv format. + 2005-11-20 Paul Jakma <paul.jakma@sun.com> * (general) remove includes of very common system headers, diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index aff6a716..4631cc70 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c @@ -267,10 +267,7 @@ isis_zebra_route_add_ipv4 (struct prefix *prefix, stream = zclient->obuf; stream_reset (stream); - /* Length place holder. */ - stream_putw (stream, 0); - /* command */ - stream_putc (stream, ZEBRA_IPV4_ROUTE_ADD); + zclient_create_header (stream, ZEBRA_IPV4_ROUTE_ADD); /* type */ stream_putc (stream, ZEBRA_ROUTE_ISIS); /* flags */ |