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 | ca83a1ab22840a552ca746a6f65a98acba2e5e71 (diff) | |
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 eea7a26425..b30e19a867 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 */ |
