-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[routeorch]: Do not set packet action for updating next hop ID
The current design set the SAI_ROUTE_ATTR_PACKET_ACTION to SAI_PACKET_ACTION_FORWARD every time the route is updated. This will generate double SET function calls. With this fix, the SAI_ROUTE_ATTR_PACKET_ACTION is only set to SAI_PACKET_ACTION_FORWARD when there was no next hop (dropped). Also update the default dropped routes to point to empty next hop object. Signed-off-by: Shuotian Cheng <[email protected]>
- Loading branch information
Shuotian Cheng
committed
Apr 28, 2017
1 parent
32cd0ea
commit a88f663
Showing
1 changed file
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters