diff options
author | paul <paul> | 2004-09-22 15:15:58 +0200 |
---|---|---|
committer | paul <paul> | 2004-09-22 15:15:58 +0200 |
commit | 44983cf8a9c587dfbcad294b9dfe4dccbb68ba98 (patch) | |
tree | ed73660eff1e0a1a6a66d63892b7145892ba9190 /zebra/zserv.c | |
parent | 2004-09-17 Paul Jakma <paul@dishone.st> (diff) | |
download | frr-44983cf8a9c587dfbcad294b9dfe4dccbb68ba98.tar.xz frr-44983cf8a9c587dfbcad294b9dfe4dccbb68ba98.zip |
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 4779b6430..96d6f533f 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 |