Jonathan Hart
Committed by Gerrit Code Review

Fixed blocking FPM deletes.

Apparantly route deletes are sent with protocol UNSPEC (fpm bug?)

Change-Id: Ia904149c0ee4704d604304d3296d2b9f2e780ab4
......@@ -186,7 +186,8 @@ public class FpmManager implements RouteSourceService, FpmInfoService {
log.trace("Received FPM message: {}", fpmMessage);
}
if (rtNetlink.protocol() != RtProtocol.ZEBRA) {
if (!(rtNetlink.protocol() == RtProtocol.ZEBRA ||
rtNetlink.protocol() == RtProtocol.UNSPEC)) {
log.trace("Ignoring non-zebra route");
return;
}
......