]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Fix regression. It seems to me that this code still works only by accident
authorhasso <hasso>
Tue, 19 Oct 2004 06:26:01 +0000 (06:26 +0000)
committerhasso <hasso>
Tue, 19 Oct 2004 06:26:01 +0000 (06:26 +0000)
though. Needs serious cleanup.

zebra/ChangeLog
zebra/zserv.c

index 1284ede0ec390139cbec8fe4fcb2cceab9186d75..506e3ae35a621f9897b648e4b454dd5bab0f9a7b 100644 (file)
@@ -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
index bb7937d1b50813f01f305bb8041012be1b189bab..10dd5fa56a18cfe1922d54612650bdec23f8c4e7 100644 (file)
@@ -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));