]> git.proxmox.com Git - mirror_frr.git/commit - eigrpd/eigrp_structs.h
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)
committerDonald Sharp <sharpd@nvidia.com>
Sun, 31 Jan 2021 13:32:15 +0000 (08:32 -0500)
commit7c6ff2c54f531cf42e696575b730a465d9df6000
tree18770fbf5836d385146610097460b796a2d00a3d
parent127949a9afa11fba8511e072a3e056a8f1b9eec7
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