diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2018-11-29 00:57:39 -0200 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2018-12-03 13:47:58 -0200 | 
| commit | 1e42a07ce99cf703e248f6b6a56825cb445efebf (patch) | |
| tree | 6dd56b89e9af979ee4392fd17d8f98b64ecc8f0e /ripngd/ripngd.h | |
| parent | 9a12e9e5edb4f119cd794f347581ae3a950f2c15 (diff) | |
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 de3b2e1947..9b5f89076b 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 *);  | 
