]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix ecommunity_token initialiser
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 19 Apr 2015 13:17:02 +0000 (15:17 +0200)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:29 +0000 (15:33 +0000)
commitec5044feb90b735b814aa4201538423a22869109
tree7ebdc82905b730c146a04aa8c278d19fad3c0647
parent9914e0224b34aea29dbcf6e314dc883dfc2ac382
bgpd: fix ecommunity_token initialiser

This pulls up ecommunity_token_unknown to be the first enum value (at
0), and uses that as initialiser to get rid of the uninitialised use
warning.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit b1672ce858cc9c16fd7cc67b673aa241d9583a59)
bgpd/bgp_ecommunity.c