From ce0dccc72745c6ebacfd895564198b5bbffb8f34 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Dec 2014 21:53:24 +0300 Subject: In validateinterfaces tool fix searching lost interfaces. --- tools/validateinterfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/validateinterfaces.py') diff --git a/tools/validateinterfaces.py b/tools/validateinterfaces.py index b34bd6233..87ff46a85 100755 --- a/tools/validateinterfaces.py +++ b/tools/validateinterfaces.py @@ -177,7 +177,7 @@ def checkLostFile(tracker, cFile): m = methodRe.search(line) if m != None: name = "{0}_{1}".format(m.group("ifname"), m.group("method")) - if m.group("ifname") not in tracker.interfaces: + if name[:name.find("_")] not in tracker.interfaces and m.group("ifname") not in tracker.interfaces: continue if name not in tracker.fullmethods: # print "src : " + line -- cgit v1.2.3-60-g2f50