]> git.puffer.fish Git - matthieu/frr.git/commit
rib: default distance value for new protocols (v2)
authorDavid Lamparter <equinox@diac24.net>
Wed, 26 Aug 2009 22:28:28 +0000 (00:28 +0200)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 21 Nov 2011 14:24:28 +0000 (18:24 +0400)
commit87254a3f48874d7bbb127a118781d8ad1f017178
tree3a7d77af1b87c9a963fe747ff5e45f2f47b303e0
parent3480674a41cba545a1f546e012939e286909b10c
rib: default distance value for new protocols (v2)

adding protocols and forgetting to update zebra_rib.c currently causes
a beyond end of array access for the default distance value. fix by
making 150 the default distance for unknown routing protocols.

150 is higher than all other IGPs but lower than iBGP (200)
zebra/zebra_rib.c