mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-03 18:02:53 +00:00
Merge pull request #837 from qlyoung/fix-eigrp-routemap-cli
eigrpd, vtysh: add dummy route-map cli
This commit is contained in:
commit
533450e4b9
@ -50,7 +50,7 @@
|
||||
#include "keychain.h"
|
||||
#include "distribute.h"
|
||||
#include "libfrr.h"
|
||||
//#include "routemap.h"
|
||||
#include "routemap.h"
|
||||
//#include "if_rmap.h"
|
||||
|
||||
#include "eigrpd/eigrp_structs.h"
|
||||
@ -192,6 +192,11 @@ int main(int argc, char **argv, char **envp)
|
||||
prefix_list_add_hook(eigrp_distribute_update_all);
|
||||
prefix_list_delete_hook(eigrp_distribute_update_all);
|
||||
|
||||
/*
|
||||
* XXX: This is just to get the CLI installed to suppress VTYSH errors.
|
||||
* Routemaps in EIGRP are not yet functional.
|
||||
*/
|
||||
route_map_init();
|
||||
/*eigrp_route_map_init();
|
||||
route_map_add_hook (eigrp_rmap_update);
|
||||
route_map_delete_hook (eigrp_rmap_update);*/
|
||||
|
||||
@ -44,7 +44,7 @@ DECLARE_MGROUP(MVTYSH)
|
||||
* run on it (logging & co. should stay in a fixed/frozen config, and
|
||||
* things like prefix lists are not even initialised) */
|
||||
#define VTYSH_ALL VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_LDPD|VTYSH_BGPD|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD|VTYSH_EIGRPD|VTYSH_BABELD
|
||||
#define VTYSH_RMAP VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_PIMD
|
||||
#define VTYSH_RMAP VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_BGPD|VTYSH_PIMD|VTYSH_EIGRPD
|
||||
#define VTYSH_INTERFACE VTYSH_ZEBRA|VTYSH_RIPD|VTYSH_RIPNGD|VTYSH_OSPFD|VTYSH_OSPF6D|VTYSH_ISISD|VTYSH_PIMD|VTYSH_NHRPD|VTYSH_EIGRPD|VTYSH_BABELD
|
||||
#define VTYSH_NS VTYSH_ZEBRA
|
||||
#define VTYSH_VRF VTYSH_ZEBRA
|
||||
|
||||
Loading…
Reference in New Issue
Block a user