diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-11-28 07:45:08 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-11-28 07:45:08 -0500 |
| commit | 67b8d7ec09e17599c12a73d1ed65b8d79396b8db (patch) | |
| tree | 6562550bd06811f96cfd4e1d27ab460da5089de4 | |
| parent | 2734c7471c644fa8bd7bdf2ea8d76d683269e122 (diff) | |
eigrpd: Remove unneeeded if state types
There are some unused/unneeded if state types in eigrp, remove them
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
| -rw-r--r-- | eigrpd/eigrp_const.h | 6 | ||||
| -rw-r--r-- | eigrpd/eigrp_hello.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/eigrpd/eigrp_const.h b/eigrpd/eigrp_const.h index 3a103fb9f2..d3d9bca82a 100644 --- a/eigrpd/eigrp_const.h +++ b/eigrpd/eigrp_const.h @@ -110,10 +110,8 @@ enum metric_change { METRIC_DECREASE, METRIC_SAME, METRIC_INCREASE }; #define EIGRP_IFTYPE_NONE 0 #define EIGRP_IFTYPE_POINTOPOINT 1 #define EIGRP_IFTYPE_BROADCAST 2 -#define EIGRP_IFTYPE_NBMA 3 -#define EIGRP_IFTYPE_POINTOMULTIPOINT 4 -#define EIGRP_IFTYPE_LOOPBACK 5 -#define EIGRP_IFTYPE_MAX 6 +#define EIGRP_IFTYPE_LOOPBACK 3 +#define EIGRP_IFTYPE_MAX 4 #define EIGRP_IF_ACTIVE 0 #define EIGRP_IF_PASSIVE 1 diff --git a/eigrpd/eigrp_hello.c b/eigrpd/eigrp_hello.c index f512833e0a..13a2c4206f 100644 --- a/eigrpd/eigrp_hello.c +++ b/eigrpd/eigrp_hello.c @@ -745,12 +745,6 @@ void eigrp_hello_send(struct eigrp_interface *ei, uint8_t flags, { struct eigrp_packet *ep = NULL; - /* If this is passive interface, do not send EIGRP Hello. - if ((EIGRP_IF_PASSIVE_STATUS (ei) == EIGRP_IF_PASSIVE) || - (ei->type != EIGRP_IFTYPE_NBMA)) - return; - */ - if (IS_DEBUG_EIGRP_PACKET(0, SEND)) zlog_debug("Queueing [Hello] Interface(%s)", IF_NAME(ei)); |
