diff options
author | Russ White <russ@riw.us> | 2021-01-19 13:17:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 13:17:03 +0100 |
commit | c0b6ef23f74ef05f6a7550b78590e31605e7f90f (patch) | |
tree | 42c8bfea591bb848a0ca4e6ff41116bb62277d34 /bgpd/bgp_main.c | |
parent | Merge pull request #7790 from mobash-rasool/ospfv3-max-path (diff) | |
parent | debian: work around NetDef CI missing lua packages (diff) | |
download | frr-c0b6ef23f74ef05f6a7550b78590e31605e7f90f.tar.xz frr-c0b6ef23f74ef05f6a7550b78590e31605e7f90f.zip |
Merge pull request #7639 from qlyoung/frr-lua
Scripting
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r-- | bgpd/bgp_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index 287555b1f..3cb3d0621 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -60,6 +60,7 @@ #include "bgpd/bgp_keepalives.h" #include "bgpd/bgp_network.h" #include "bgpd/bgp_errors.h" +#include "bgpd/bgp_script.h" #include "lib/routing_nb.h" #include "bgpd/bgp_nb.h" #include "bgpd/bgp_evpn_mh.h" @@ -510,6 +511,10 @@ int main(int argc, char **argv) /* Initializations. */ bgp_vrf_init(); +#ifdef HAVE_SCRIPTING + bgp_script_init(); +#endif + hook_register(routing_conf_event, routing_control_plane_protocols_name_validate); |