diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-26 01:32:51 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-05 01:29:03 +0200 |
commit | 7ecf0a4d3740bee622a0fffaabd6e623c342b7ae (patch) | |
tree | 3601d22510ddd78814af95255b70503b80ffd56b /eigrpd/eigrp_packet.c | |
parent | eigrpd: Fix a md5 digest issue (diff) | |
download | frr-7ecf0a4d3740bee622a0fffaabd6e623c342b7ae.tar.xz frr-7ecf0a4d3740bee622a0fffaabd6e623c342b7ae.zip |
eigrpd: Fix crash and attempt to send data
This code fixes a crash in EIGRP when on initial
neighbor formation we need to send more than 1 packet
of data to the nbr.
I was testing this by redistributing connected
and just adding a bunch of /32 address to
an interface.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_packet.c')
-rw-r--r-- | eigrpd/eigrp_packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eigrpd/eigrp_packet.c b/eigrpd/eigrp_packet.c index 5242b7c27..3befd8a11 100644 --- a/eigrpd/eigrp_packet.c +++ b/eigrpd/eigrp_packet.c @@ -886,6 +886,7 @@ void eigrp_packet_header_init(int type, struct eigrp_interface *ei, { struct eigrp_header *eigrph; + stream_reset(s); eigrph = (struct eigrp_header *)STREAM_DATA(s); eigrph->version = (u_char)EIGRP_HEADER_VERSION; |