Charles Chan b21d69a734 Avoid sending redundant ROUTE_REMOVED event when deleting a unresolved route
ROUTE_REMOVED is already sent when the state trasits from RESOLVED to UNRESOLVED/INITIAL.
Not necessary to send it again when trasiting from UNRESOLVED to INITIAL.

Also fix bugs
- next hop is erased when updating route that is exactly the same as before
- duplicated log messages when withdrawing routes

Change-Id: I7d60081b83fc2063e451b346ba477330e88bdc28
2016-11-18 15:28:42 +00:00
..