diff options
author | paul <paul> | 2003-05-24 22:59:42 +0000 |
---|---|---|
committer | paul <paul> | 2003-05-24 22:59:42 +0000 |
commit | 45f5468f02fc7c945041c3cf291bf7ad59bce35a (patch) | |
tree | acbcbee4a3126fc3c5254842c109af26ddca47b0 /lib/if_rmap.c | |
parent | bae16435509456c9f3f9459455ba482964985d8a (diff) | |
download | quagga-45f5468f02fc7c945041c3cf291bf7ad59bce35a.tar.bz2 quagga-45f5468f02fc7c945041c3cf291bf7ad59bce35a.tar.xz |
Paul Jakma:
Merge changes from HEAD
Diffstat (limited to 'lib/if_rmap.c')
-rw-r--r-- | lib/if_rmap.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); + } } |