summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/validateinterfaces.py2
1 files changed, 1 insertions, 1 deletions
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