summaryrefslogtreecommitdiffstats
path: root/zebra/main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:40:44 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 02:40:44 +0200
commit244c1cdce553f6b722920ffe40a492ca230ad086 (patch)
tree42b740f784ba1682490de2e7edf8936517e8fd09 /zebra/main.c
parentiquagga-faster-compile.patch (diff)
downloadfrr-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.c7
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); */