summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-12-07 17:30:16 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-09 17:36:25 +0100
commita50b7cebd58520d7f7ddbb82214788bc794791ac (patch)
treedcf212f69beda2084d6c5c68a314eccb0e693546 /lib/if.c
parent52c6b0e20a94e29126e3ddb180704d9d4c87e14f (diff)
lib: remove vty->index
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index a1bac2ce81..fb12f201b2 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -784,7 +784,7 @@ DEFUN (interface,
vty_out (vty, "%% interface %s not in %s%s", ifname, vrfname, VTY_NEWLINE);
return CMD_WARNING;
}
- VTY_PUSH_CONTEXT_COMPAT (INTERFACE_NODE, ifp);
+ VTY_PUSH_CONTEXT (INTERFACE_NODE, ifp);
return CMD_SUCCESS;
}