diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 02:40:44 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 02:40:44 +0200 |
commit | 244c1cdce553f6b722920ffe40a492ca230ad086 (patch) | |
tree | 42b740f784ba1682490de2e7edf8936517e8fd09 /zebra/main.c | |
parent | iquagga-faster-compile.patch (diff) | |
download | frr-244c1cdce553f6b722920ffe40a492ca230ad086.tar.xz frr-244c1cdce553f6b722920ffe40a492ca230ad086.zip |
ptm-integration.patch
Integrates Prescriptive Topology Module(ptm) into quagga.
If this module is enabled, link ups are notified only after the link is verified
as being connected to the neighbor specified. The neighbor specification and
checking is done by the ptm daemon.
Diffstat (limited to 'zebra/main.c')
-rw-r--r-- | zebra/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index 306468fce..13ad08eff 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -40,6 +40,9 @@ #include "zebra/irdp.h" #include "zebra/rtadv.h" #include "zebra/zebra_fpm.h" +#include "zebra/zebra_ptm.h" + +#define ZEBRA_PTM_SUPPORT /* Zebra instance */ struct zebra_t zebrad = @@ -334,6 +337,10 @@ main (int argc, char **argv) #ifdef HAVE_IRDP irdp_init(); #endif + /* PTM socket */ +#ifdef ZEBRA_PTM_SUPPORT + zebra_ptm_init(); +#endif /* For debug purpose. */ /* SET_FLAG (zebra_debug_event, ZEBRA_DEBUG_EVENT); */ |