]> git.proxmox.com Git - mirror_ifupdown2.git/commitdiff
ifupdown2: modulebase: fix parse_glob arguments
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Wed, 2 Dec 2015 07:27:21 +0000 (23:27 -0800)
committerSam Tannous <stannous@cumulusnetworks.com>
Wed, 9 Dec 2015 19:02:54 +0000 (14:02 -0500)
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)

ifupdownaddons/modulebase.py

index 0a9aa0894eed8a9e98f4d32399e36a488b3faad1..bd7d312da977380e0a049bb8641b5015eafd800b 100644 (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: