diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-04 22:08:10 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2019-01-18 19:15:41 +0100 |
commit | 29e897ad333790601929c09904a7e2ff146bcf55 (patch) | |
tree | 6638ab92b36e0205cfc17ea298d62e71f7877685 /ripd/ripd.c | |
parent | ripd: move "Vrip_passive_nondefault" to the rip structure (diff) | |
download | frr-29e897ad333790601929c09904a7e2ff146bcf55.tar.xz frr-29e897ad333790601929c09904a7e2ff146bcf55.zip |
ripd: move "peer_list" to the rip structure
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r-- | ripd/ripd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index c7e2d6a24..e00b453f9 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -2692,6 +2692,8 @@ int rip_create(int socket) /* Initialize RIP data structures. */ rip->table = route_table_init(); rip->neighbor = route_table_init(); + rip->peer_list = list_new(); + rip->peer_list->cmp = (int (*)(void *, void *))rip_peer_list_cmp; rip->enable_interface = vector_init(1); rip->enable_network = route_table_init(); rip->passive_nondefault = vector_init(1); |