mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
ifupdown2: modulebase: fix parse_glob arguments
Ticket: CM-8413 Reviewed By: trivial Testing Done: Tested failing glob expression in the bug report Fixes bcca6f753a25 ("ifupdown2: fix a few regex parsing error messages") (cherry picked from commit 997b0438104bacf12e2db6bdc29c7ea1fec4d91b)
This commit is contained in:
Roopa Prabhu
committed by
Sam Tannous
parent
3fe9e36474
commit
9a8ad21aab
@ -240,7 +240,7 @@ class moduleBase(object):
|
||||
portlist.append(port)
|
||||
regex = 0
|
||||
elif glob:
|
||||
for port in self.parse_glob(expr):
|
||||
for port in self.parse_glob(ifacename, expr):
|
||||
portlist.append(port)
|
||||
glob = 0
|
||||
else:
|
||||
|
Reference in New Issue
Block a user