]> git.puffer.fish Git - mirror/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>
Tue, 13 Dec 2011 15:12:49 +0000 (19:12 +0400)
commit7052f22880f439a6ee691dd9436e1bda932f7b3b
treed9e6713dd7c559039816e1c20347676e7d6c9cd1
parentca9f342c2c35523b7bb34631b4f75cad1232355b
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