summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-03-22 15:01:08 +0100
committerChristian Franke <chris@opensourcerouting.org>2018-09-05 11:38:12 +0200
commit7c0cbd0e8879ef85469cd2da606cdabdb374cf01 (patch)
tree8999de060c8affdb9cb2e476369d5238524fae7c /lib/log.c
parent74938acb9450abeae56380bd8ed665203cb45aa6 (diff)
fabricd: add new daemon as build of isisd
fabricd is built using the sources of isisd. To allow differentiation in the code, -DFABRICD=1 is added to its preprocessor flags. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/log.c b/lib/log.c
index 010b984786..521783e4b0 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -1074,6 +1074,8 @@ int proto_redistnum(int afi, const char *s)
return ZEBRA_ROUTE_BABEL;
else if (strmatch(s, "sharp"))
return ZEBRA_ROUTE_SHARP;
+ else if (strmatch(s, "openfabric"))
+ return ZEBRA_ROUTE_OPENFABRIC;
}
if (afi == AFI_IP6) {
if (strmatch(s, "kernel"))
@@ -1102,6 +1104,8 @@ int proto_redistnum(int afi, const char *s)
return ZEBRA_ROUTE_BABEL;
else if (strmatch(s, "sharp"))
return ZEBRA_ROUTE_SHARP;
+ else if (strmatch(s, "openfabric"))
+ return ZEBRA_ROUTE_OPENFABRIC;
}
return -1;
}