summaryrefslogtreecommitdiff
path: root/tools/validateinterfaces.py
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2014-12-14 21:53:59 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2014-12-14 21:53:59 +0800
commitc0169f29abd37dcc8c29510343755c5034a0751a (patch)
tree1ef475232d43269d0d0ef4c006fcf26e2b1a2354 /tools/validateinterfaces.py
parentfe7734dcb4ee15221b5dd006ea269ddf2f42e4b2 (diff)
parentc15b8c6274794b766847a6a9c1651caeaa1e25c5 (diff)
downloadhercules-c0169f29abd37dcc8c29510343755c5034a0751a.tar.gz
hercules-c0169f29abd37dcc8c29510343755c5034a0751a.tar.bz2
hercules-c0169f29abd37dcc8c29510343755c5034a0751a.tar.xz
hercules-c0169f29abd37dcc8c29510343755c5034a0751a.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'tools/validateinterfaces.py')
-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