Skip to content

Commit

Permalink
Allow adding ACL table without services parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyu190011 committed Feb 2, 2021
1 parent 16e9485 commit 759002e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3366,6 +3366,9 @@ def get_acl_bound_ports():
# 'table' subcommand ('config acl add table ...')
#
def validate_services(ctx, param, value):
if value == None:
return None

service_list = value.split(',')

for s in service_list:
Expand Down

0 comments on commit 759002e

Please sign in to comment.