]> git.puffer.fish Git - mirror/frr.git/commitdiff
Merge pull request #3606 from pguibert6WIND/if_rmap_container
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 1 Mar 2019 14:46:22 +0000 (09:46 -0500)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2019 14:46:22 +0000 (09:46 -0500)
lib, rip, ripng, eigrp: rework if_rmap context

1  2 
lib/if_rmap.c

diff --cc lib/if_rmap.c
index 7ac5368171234338e33dc6dfa4b4d9945e54497a,8e58d23e28b8f3b207fb3f17d8855bcab5b2bfd0..53bbcbfe57b6548b542444031303779a0ab0263e
@@@ -258,11 -267,13 +267,13 @@@ DEFUN (no_if_rmap
  
  
  /* Configuration write function. */
- int config_write_if_rmap(struct vty *vty)
+ int config_write_if_rmap(struct vty *vty,
+                        struct if_rmap_ctx *ctx)
  {
        unsigned int i;
 -      struct hash_backet *mp;
 +      struct hash_bucket *mp;
        int write = 0;
+       struct hash *ifrmaphash = ctx->ifrmaphash;
  
        for (i = 0; i < ifrmaphash->size; i++)
                for (mp = ifrmaphash->index[i]; mp; mp = mp->next) {