From 45f5468f02fc7c945041c3cf291bf7ad59bce35a Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 24 May 2003 22:59:42 +0000 Subject: Paul Jakma: Merge changes from HEAD --- lib/if_rmap.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/if_rmap.c') diff --git a/lib/if_rmap.c b/lib/if_rmap.c index d3031fad..42271025 100644 --- a/lib/if_rmap.c +++ b/lib/if_rmap.c @@ -299,7 +299,8 @@ void if_rmap_init (int node) { ifrmaphash = hash_create (if_rmap_hash_make, if_rmap_hash_cmp); - - install_element (node, &if_rmap_cmd); - install_element (node, &no_if_rmap_cmd); + if (node == RIPNG_NODE) { + install_element (RIPNG_NODE, &if_rmap_cmd); + install_element (RIPNG_NODE, &no_if_rmap_cmd); + } } -- cgit v1.2.3