diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-11-29 03:57:39 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-12-03 16:47:58 +0100 |
commit | 1e42a07ce99cf703e248f6b6a56825cb445efebf (patch) | |
tree | 6dd56b89e9af979ee4392fd17d8f98b64ecc8f0e /ripngd/ripngd.h | |
parent | ripngd: retrofit the 'router ripng' command to the new northbound model (diff) | |
download | frr-1e42a07ce99cf703e248f6b6a56825cb445efebf.tar.xz frr-1e42a07ce99cf703e248f6b6a56825cb445efebf.zip |
ripngd: retrofit the 'allow-ecmp' command to the new northbound model
Trivial conversion. The ripng->ecmp variable was converted to a boolean
to match the way it's defined in the YANG module.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripngd/ripngd.h')
-rw-r--r-- | ripngd/ripngd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h index de3b2e194..9b5f89076 100644 --- a/ripngd/ripngd.h +++ b/ripngd/ripngd.h @@ -134,7 +134,7 @@ struct ripng { struct thread *t_triggered_interval; /* RIPng ECMP flag */ - unsigned int ecmp; + bool ecmp; /* For redistribute route map. */ struct { @@ -378,6 +378,7 @@ extern void ripng_redistribute_delete(int, int, struct prefix_ipv6 *, ifindex_t); extern void ripng_redistribute_withdraw(int type); +extern void ripng_ecmp_disable(void); extern void ripng_distribute_update_interface(struct interface *); extern void ripng_if_rmap_update_interface(struct interface *); |