summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/xref2vtysh.py2
-rw-r--r--python/xrelfo.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/python/xref2vtysh.py b/python/xref2vtysh.py
index b5873a3aac..c325979d24 100644
--- a/python/xref2vtysh.py
+++ b/python/xref2vtysh.py
@@ -44,7 +44,7 @@ daemon_flags = {
"lib/routemap.c": "VTYSH_RMAP",
"lib/routemap_cli.c": "VTYSH_RMAP",
"lib/spf_backoff.c": "VTYSH_ISISD",
- "lib/thread.c": "VTYSH_ALL",
+ "lib/event.c": "VTYSH_ALL",
"lib/vrf.c": "VTYSH_VRF",
"lib/vty.c": "VTYSH_ALL",
}
diff --git a/python/xrelfo.py b/python/xrelfo.py
index 4c956ca6ac..a40b19e5fb 100644
--- a/python/xrelfo.py
+++ b/python/xrelfo.py
@@ -40,7 +40,7 @@ tool available) could not be found. It should be included with the sources.
# constants, need to be kept in sync manually...
-XREFT_THREADSCHED = 0x100
+XREFT_EVENTSCHED = 0x100
XREFT_LOGMSG = 0x200
XREFT_DEFUN = 0x300
XREFT_INSTALL_ELEMENT = 0x301
@@ -110,7 +110,7 @@ class XrefThreadSched(ELFDissectStruct, XrelfoJson):
struct = "xref_threadsched"
-Xref.containers[XREFT_THREADSCHED] = XrefThreadSched
+Xref.containers[XREFT_EVENTSCHED] = XrefThreadSched
class XrefLogmsg(ELFDissectStruct, XrelfoJson):