commit | c1eaa442cfdcebbe7c8002ec9b2a0ae5afea5812 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Tue Oct 19 06:26:01 2004 +0000 |
committer | hasso <hasso> | Tue Oct 19 06:26:01 2004 +0000 |
tree | b67e1b778e9f9b6a1853854c52aa9c99edb115aa | |
parent | 81bc8c7a4ed67f2add4d7a67250393376e7bc4e1 [diff] [blame] |
Fix regression. It seems to me that this code still works only by accident though. Needs serious cleanup.
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));