diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-08-19 11:28:21 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-08-23 17:45:17 -0300 | 
| commit | 89a8b5cada731a52f71167b7e4faa8a7028374c6 (patch) | |
| tree | 43e0a1380d29d1fcd49954c7eeedaa6b3b089b11 /eigrpd/eigrp_zebra.c | |
| parent | 153856bbe96ea6b78aa0cc184ba6f4def7aace04 (diff) | |
vnc/eigrpd/isisd: check for the correct message types
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'eigrpd/eigrp_zebra.c')
| -rw-r--r-- | eigrpd/eigrp_zebra.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/eigrpd/eigrp_zebra.c b/eigrpd/eigrp_zebra.c index 00b269b489..0ee89eb675 100644 --- a/eigrpd/eigrp_zebra.c +++ b/eigrpd/eigrp_zebra.c @@ -162,9 +162,9 @@ static int eigrp_zebra_read_ipv4(int command, struct zclient *zclient,  	if (eigrp == NULL)  		return 0; -	if (command == ZEBRA_IPV4_ROUTE_ADD) { +	if (command == ZEBRA_REDISTRIBUTE_IPV4_ADD) { -	} else /* if (command == ZEBRA_IPV4_ROUTE_DELETE) */ +	} else /* if (command == ZEBRA_REDISTRIBUTE_IPV4_DEL) */  	{  	}  | 
