Skip to content

Commit

Permalink
floogen: Fix ID offset calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Apr 26, 2024
1 parent c3188b9 commit 76abf34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floogen/model/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def gen_sam(self):
for ni in ni_sbr_nodes:
dest = ni.id
if self.routing.id_offset is not None:
dest += self.routing.id_offset
dest -= self.routing.id_offset
addr_range = ni.addr_range
addr_rule = RouteMapRule(dest=dest, addr_range=addr_range, desc=ni.name)
addr_table.append(addr_rule)
Expand Down

0 comments on commit 76abf34

Please sign in to comment.