diff options
author | paul <paul> | 2004-09-22 13:15:58 +0000 |
---|---|---|
committer | paul <paul> | 2004-09-22 13:15:58 +0000 |
commit | 44983cf8a9c587dfbcad294b9dfe4dccbb68ba98 (patch) | |
tree | ed73660eff1e0a1a6a66d63892b7145892ba9190 /zebra/zserv.c | |
parent | b89e60c7abd457f97df8351db5610fc9c15178b2 (diff) |
2004-09-22 Paul Jakma <paul.jakma@sun.com>
* zserv.c: (zsend_route_multipath) fix nasty bad memset of struct
in_addr to sizeof(struct in6_addr), causing odd and hard to debug
crash.
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r-- | zebra/zserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index 4779b643..96d6f533 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -497,7 +497,7 @@ zsend_route_multipath (int cmd, struct zserv *client, struct prefix *p, || cmd == ZEBRA_IPV4_ROUTE_DELETE) { struct in_addr empty; - memset (&empty, 0, sizeof (struct in6_addr)); + memset (&empty, 0, sizeof (struct in_addr)); stream_write (s, (u_char *) &empty, IPV4_MAX_BYTELEN); } else |