diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-05-09 06:34:58 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-10-27 20:16:12 +0200 |
commit | edbf59d209f20d4ab5a66eab1da1287c40fcc21a (patch) | |
tree | 94234676228a4f8b436cc814de9fdb9199f279fc /ripd/ripd.h | |
parent | ripd: retrofit the 'router rip' command to the new northbound model (diff) | |
download | frr-edbf59d209f20d4ab5a66eab1da1287c40fcc21a.tar.xz frr-edbf59d209f20d4ab5a66eab1da1287c40fcc21a.zip |
ripd: retrofit the 'allow-ecmp' command to the new northbound model
Trivial conversion. The rip->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 'ripd/ripd.h')
-rw-r--r-- | ripd/ripd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h index 8e34939f2..68b302e87 100644 --- a/ripd/ripd.h +++ b/ripd/ripd.h @@ -151,7 +151,7 @@ struct rip { struct route_table *distance_table; /* RIP ECMP flag */ - unsigned int ecmp; + bool ecmp; /* For redistribute route map. */ struct { @@ -389,6 +389,8 @@ extern int rip_request_send(struct sockaddr_in *, struct interface *, uint8_t, struct connected *); extern int rip_neighbor_lookup(struct sockaddr_in *); +extern void rip_ecmp_disable(void); + extern int rip_create_socket(void); extern int rip_redistribute_check(int); |