Skip to content

Commit

Permalink
Fix OSPF area bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stalabi1 committed Oct 10, 2024
1 parent 6804597 commit 4c892e2
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -974,10 +974,11 @@ def build_area_stub_delete_requests(self, request_root, commands, have):
# actually clearing stuff means deleting area
# area having nothing related to stub also ends up in this case. requests will be empty.
return True, requests, len(requests) > 0
elif len(requests) > 0:
# clearing some of the settings in stub but not all
# commands has to be a subset of have and whatever in it is translated into requests
return False, requests, False

# clearing some of the settings in stub but not all
# commands has to be a subset of have and whatever in it is translated into requests or
# there are no requests
return False, requests, False

def build_area_delete_networks_requests(self, request_root, commands, have):
if commands is None:
Expand Down

0 comments on commit 4c892e2

Please sign in to comment.