From: Donald Sharp Date: Fri, 1 Mar 2019 14:46:22 +0000 (-0500) Subject: Merge pull request #3606 from pguibert6WIND/if_rmap_container X-Git-Tag: 7.1_pulled~203 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=1c628520307cee621fb864496b57ddaff5bc6300;p=mirror%2Ffrr.git Merge pull request #3606 from pguibert6WIND/if_rmap_container lib, rip, ripng, eigrp: rework if_rmap context --- 1c628520307cee621fb864496b57ddaff5bc6300 diff --cc lib/if_rmap.c index 7ac5368171,8e58d23e28..53bbcbfe57 --- a/lib/if_rmap.c +++ b/lib/if_rmap.c @@@ -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) {