]> git.puffer.fish Git - matthieu/frr.git/commit
lib: prefix2str initialises incoming buffer in case erroneous EVPN pfx
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 10:54:33 +0000 (11:54 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:59:00 +0000 (13:59 +0100)
commit43b4350ca7efa79f393cf68c62b5be5614ac9a11
treef1cabc09642ce547b68f860ea4db20990328b49b
parente2858b13a9f2faf4b5e44021ce206facc43efc19
lib: prefix2str initialises incoming buffer in case erroneous EVPN pfx

In the case, evpn prefix is requested to be transformed into string, and
if the evpn prefix is not an evpn route type 5 entry, then the prefix is
returning an initialised string that mentions the vpn prefix is unknown.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/prefix.c