diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-10 21:53:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-10 22:58:41 +0300 |
commit | ce0dccc72745c6ebacfd895564198b5bbffb8f34 (patch) | |
tree | 195c33b670917a0852f5445a81c190287d2b05f0 /tools | |
parent | 1464cdf328754949245cc825b97d65d944e49f9b (diff) | |
download | hercules-ce0dccc72745c6ebacfd895564198b5bbffb8f34.tar.gz hercules-ce0dccc72745c6ebacfd895564198b5bbffb8f34.tar.bz2 hercules-ce0dccc72745c6ebacfd895564198b5bbffb8f34.tar.xz hercules-ce0dccc72745c6ebacfd895564198b5bbffb8f34.zip |
In validateinterfaces tool fix searching lost interfaces.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/validateinterfaces.py | 2 |
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 |