diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-23 08:34:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-23 08:34:47 -0400 |
| commit | c1f0465a3d15f6e7fc709e5523b3ac7b4f62cfd6 (patch) | |
| tree | a0658fb38610efe7a7af667686fbf7e5537380bc /ripd/ripd.c | |
| parent | f799ea3f940dc8107e677f4349fcd542cf01305b (diff) | |
| parent | cbcbac457870a9b569104b8250e57f0bd8d55114 (diff) | |
Merge pull request #4162 from opensourcerouting/rip-issues
ripd, ripngd: fix cleaning up of offset lists
Diffstat (limited to 'ripd/ripd.c')
| -rw-r--r-- | ripd/ripd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index 201de9a46e..3a1ffd17a6 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -2712,7 +2712,7 @@ struct rip *rip_create(const char *vrf_name, struct vrf *vrf, int socket) rip->passive_nondefault = vector_init(1); rip->offset_list_master = list_new(); rip->offset_list_master->cmp = (int (*)(void *, void *))offset_list_cmp; - rip->offset_list_master->del = (void (*)(void *))offset_list_del; + rip->offset_list_master->del = (void (*)(void *))offset_list_free; /* Distribute list install. */ rip->distribute_ctx = distribute_list_ctx_create(vrf); |
