summaryrefslogtreecommitdiffstats
path: root/staticd/static_debug.h
diff options
context:
space:
mode:
authorvdhingra <vdhingra@vmware.com>2020-08-10 09:00:09 +0200
committervdhingra <vdhingra@vmware.com>2020-09-01 06:12:21 +0200
commitb2f6ab679c4d9fa0239fdf02ee6ed55eb18e1a4e (patch)
tree100eb82ca035bdf77b960db94256ee97e6249c69 /staticd/static_debug.h
parentMerge pull request #7017 from xThaid/netlink_fix (diff)
downloadfrr-b2f6ab679c4d9fa0239fdf02ee6ed55eb18e1a4e.tar.xz
frr-b2f6ab679c4d9fa0239fdf02ee6ed55eb18e1a4e.zip
staticd : Added the warning log for route when VRF is not ready.
During the yangification of staticd, refactoring of code around static_hold_route data struct has been done, In this context warning log message when VRF is not ready had been removed. This should not be removed, adding it back. I have missed one MPLS validation too, adding it back. Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Diffstat (limited to 'staticd/static_debug.h')
-rw-r--r--staticd/static_debug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/staticd/static_debug.h b/staticd/static_debug.h
index 481c266e1..3a96339f4 100644
--- a/staticd/static_debug.h
+++ b/staticd/static_debug.h
@@ -30,6 +30,7 @@
/* staticd debugging records */
extern struct debug static_dbg_events;
+extern struct debug static_dbg_route;
/*
* Initialize staticd debugging.
@@ -67,7 +68,7 @@ int static_debug_status_write(struct vty *vty);
* Debug general internal events
*
*/
-void static_debug_set(int vtynode, bool onoff, bool events);
+void static_debug_set(int vtynode, bool onoff, bool events, bool route);
#endif /* _STATIC_DEBUG_H */