1
0
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
2015-12-01 23:27:21 -08:00
committed by Sam Tannous
parent 3fe9e36474
commit 9a8ad21aab

View File

@ -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: