]> git.puffer.fish Git - mirror/frr.git/commit
eigrpd: Correctly set the mtu for eigrp packets sent
authorDonald Sharp <sharpd@nvidia.com>
Sun, 31 Jan 2021 13:32:15 +0000 (08:32 -0500)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 16 Feb 2021 17:57:53 +0000 (20:57 +0300)
commit1d0d19afa9bb7cd4bc476d00c887876bc04eee95
tree29aa443cc1727873b9f121d6d6a0c8a9d5781ecd
parentbbb08db69f8eb554d23b4920c1c1e3982d8d2a91
eigrpd: Correctly set the mtu for eigrp packets sent

This version of eigrp pre-calculated the eigrp metric
to be a default of 1500 bytes, but unfortunately it
had entered the byte order wrong.

Modify the code to properly set the byte order
according to the eigrp rfc as well as actually
read in and transmit the mtu of the interface
instead of hard coding it to 1500 bytes.

Fixes: #7986
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
eigrpd/eigrp_interface.c
eigrpd/eigrp_structs.h