]> Git Repo - linux.git/blobdiff - scripts/bpf_doc.py
net: add location to trace_consume_skb()
[linux.git] / scripts / bpf_doc.py
index e8d90829f23ed2641458bd5f632a80dba852f7f6..38d51e05c7a2bb6b185db6332aff35a2c9997843 100755 (executable)
@@ -271,7 +271,7 @@ class HeaderParser(object):
             if capture:
                 fn_defines_str += self.line
                 helper_name = capture.expand(r'bpf_\1')
-                self.helper_enum_vals[helper_name] = int(capture[2])
+                self.helper_enum_vals[helper_name] = int(capture.group(2))
                 self.helper_enum_pos[helper_name] = i
                 i += 1
             else:
This page took 0.03062 seconds and 4 git commands to generate.