diff options
author | Piotr Jurkiewicz <piotr.jerzy.jurkiewicz@gmail.com> | 2018-05-03 22:07:54 +0200 |
---|---|---|
committer | Piotr Jurkiewicz <piotr.jerzy.jurkiewicz@gmail.com> | 2018-05-04 02:58:31 +0200 |
commit | 9378632f04b72c73e19a22618712ef6eeec6abf7 (patch) | |
tree | f92aa88e814980b4e9fa32c1fdc833373718939d /eigrpd/eigrp_macros.h | |
parent | eigrpd: Correctly calculate EIGRP packet MTU (diff) | |
download | frr-9378632f04b72c73e19a22618712ef6eeec6abf7.tar.xz frr-9378632f04b72c73e19a22618712ef6eeec6abf7.zip |
eigrpd: Use EIGRP_PACKET_MTU(mtu) macro
Signed-off-by: Piotr Jurkiewicz <piotr.jerzy.jurkiewicz@gmail.com>
Diffstat (limited to 'eigrpd/eigrp_macros.h')
-rw-r--r-- | eigrpd/eigrp_macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eigrpd/eigrp_macros.h b/eigrpd/eigrp_macros.h index eea7a2642..b30e19a86 100644 --- a/eigrpd/eigrp_macros.h +++ b/eigrpd/eigrp_macros.h @@ -35,6 +35,8 @@ //-------------------------------------------------------------------------- +#define EIGRP_PACKET_MTU(mtu) ((mtu) - (sizeof(struct ip))) + /* Topology Macros */ |