mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
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>
This commit is contained in:
parent
2734c7471c
commit
67b8d7ec09
@ -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
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user