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 1284ede..506e3ae 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 bb7937d..10dd5fa 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -526,7 +526,7 @@
/* 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));