fixing regression_test test wanlink

This commit is contained in:
Matthew Stidham
2021-02-09 13:25:40 -08:00
parent b8aec4c3ed
commit 3c635f94d8
2 changed files with 13 additions and 4 deletions

View File

@@ -205,6 +205,13 @@ python3 ./test_ipv4_variable_time.py
#if required_args is not None:
optional_args=None
for group in parser._action_groups:
if group.title == "optional arguments":
optional_args=group
break
if optional_args is not None:
optional_args.add_argument('--lanport', help='Select the port you want for lanport', default='wiphy0')
optional_args.add_argument('--wanport', help='Select the port you want for wanport', default='wiphy1')
for group in parser._action_groups:
if group.title == "optional arguments":
optional_args=group