summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-19 06:26:01 +0000
committerhasso <hasso>2004-10-19 06:26:01 +0000
commitc1eaa442cfdcebbe7c8002ec9b2a0ae5afea5812 (patch)
treeb67e1b778e9f9b6a1853854c52aa9c99edb115aa
parent81bc8c7a4ed67f2add4d7a67250393376e7bc4e1 (diff)
Fix regression. It seems to me that this code still works only by accident
though. Needs serious cleanup.
-rw-r--r--zebra/ChangeLog4
-rw-r--r--zebra/zserv.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 1284ede0..506e3ae3 100644
--- a/zebra/ChangeLog
+++ b/zebra/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-19 Hasso Tepper <hasso at quagga.net>
+
+ * zserv.c: Fix regression introduced with zserv cleanup.
+
2004-10-13 Hasso Tepper <hasso at quagga.net>
* zebra_snmp.c: Remove defaults used to initialize smux connection to
diff --git a/zebra/zserv.c b/zebra/zserv.c
index bb7937d1..10dd5fa5 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));