summaryrefslogtreecommitdiffstats
path: root/lib/if.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2022-01-23 22:07:20 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2022-01-24 12:44:05 +0100
commit788a036fdb57d733371b180d1d295ce6ca72bf5d (patch)
treeda6694b6b0d78fd1b679ba02a7808f0fe01f964f /lib/if.h
parentMerge pull request #10398 from patrasar/pim_debug_fix (diff)
downloadfrr-788a036fdb57d733371b180d1d295ce6ca72bf5d.tar.xz
frr-788a036fdb57d733371b180d1d295ce6ca72bf5d.zip
*: do not print vrf name for interface config when using vrf-lite
VRF name should not be printed in the config since 574445ec. The update was done for NB config output but I missed it for regular vty output. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index c8f4d9ab9..53cd01946 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -592,6 +592,8 @@ void if_link_params_free(struct interface *);
/* Northbound. */
struct vty;
+extern void if_vty_config_start(struct vty *vty, struct interface *ifp);
+extern void if_vty_config_end(struct vty *vty);
extern void if_cmd_init(int (*config_write)(struct vty *));
extern void if_cmd_init_default(void);
extern void if_zapi_callbacks(int (*create)(struct interface *ifp),