From: hasso Date: Tue, 19 Oct 2004 06:26:01 +0000 (+0000) Subject: Fix regression. It seems to me that this code still works only by accident X-Git-Tag: frr-2.0-rc1~3457 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c1eaa442cfdcebbe7c8002ec9b2a0ae5afea5812;p=matthieu%2Ffrr.git Fix regression. It seems to me that this code still works only by accident though. Needs serious cleanup. --- diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 1284ede0ec..506e3ae35a 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,7 @@ +2004-10-19 Hasso Tepper + + * zserv.c: Fix regression introduced with zserv cleanup. + 2004-10-13 Hasso Tepper * zebra_snmp.c: Remove defaults used to initialize smux connection to diff --git a/zebra/zserv.c b/zebra/zserv.c index bb7937d1b5..10dd5fa56a 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -526,7 +526,7 @@ zsend_route_multipath (int cmd, struct zserv *client, struct prefix *p, /* Write next-hop number */ if (nhnummark) - stream_putw_at (s, nhnummark, nhnum); + stream_putc_at (s, nhnummark, nhnum); /* Write packet size. */ stream_putw_at (s, 0, stream_get_endp (s));