On 22/05/2015 11:39, Nicolas Dichtel wrote:
From: Feng Lu<lu.f...@6wind.com>

Introduce a new command "[no] allow-ecmp" to enable/disable the
ECMP feature in RIPng. By default, ECMP is not allowed.

Once ECMP is disabled, only one route entry can exist in the list.

* ripng_zebra.c: adjust a debugging information, which shows the number
                  of nexthops according to whether ECMP is enabled.
* ripngd.c: ripng_ecmp_add() will reject the new route if ECMP is not
             allowed and some entry already exists.
             A new configurable command "allow-ecmp" is added to control
             whether ECMP is allowed.
             When ECMP is disabled, ripng_ecmp_disable() is called to
             remove the multiple nexthops.
* ripngd.h: Add a new member "ecmp" to "struct ripng", indicating whether
             ECMP is allowed or not.

Signed-off-by: Feng Lu<lu.f...@6wind.com>
Reviewed-by: Alain Ritoux<alain.rit...@6wind.com>
Signed-off-by: Nicolas Dichtel<nicolas.dich...@6wind.com>

Acked-by: Vincent Jardin <vincent.jar...@6wind.com>

_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to