summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 3b75afb02c..3ea9cce388 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -174,8 +174,8 @@ static inline void vty_push_context(struct vty *vty, int node, uint64_t id)
struct structname *ptr = VTY_GET_CONTEXT_SUB(structname); \
VTY_CHECK_CONTEXT(ptr);
#define VTY_DECLVAR_INSTANCE_CONTEXT(structname, ptr) \
- if (vty->qobj_index == 0) \
- return CMD_NOT_MY_INSTANCE; \
+ if (vty->qobj_index == 0) \
+ return CMD_NOT_MY_INSTANCE; \
struct structname *ptr = VTY_GET_CONTEXT(structname); \
VTY_CHECK_CONTEXT(ptr);