diff options
author | Haruna <haru@dotalux.com> | 2014-12-10 21:00:39 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-12-10 21:00:39 +0100 |
commit | c15b8c6274794b766847a6a9c1651caeaa1e25c5 (patch) | |
tree | 195c33b670917a0852f5445a81c190287d2b05f0 | |
parent | 1464cdf328754949245cc825b97d65d944e49f9b (diff) | |
parent | ce0dccc72745c6ebacfd895564198b5bbffb8f34 (diff) | |
download | hercules-c15b8c6274794b766847a6a9c1651caeaa1e25c5.tar.gz hercules-c15b8c6274794b766847a6a9c1651caeaa1e25c5.tar.bz2 hercules-c15b8c6274794b766847a6a9c1651caeaa1e25c5.tar.xz hercules-c15b8c6274794b766847a6a9c1651caeaa1e25c5.zip |
Merge pull request #411 from 4144/validateinterfaces
In validateinterfaces tool fix searching lost interfaces.
-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 |