summaryrefslogtreecommitdiff
path: root/zebra/zserv_null.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-05-19 19:10:42 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-05-19 19:13:29 -0300
commite8e0cc1af414c2bb66bdfb79f7bd06a0a818f96a (patch)
treeeb93541facb5ca6ffde705499caf0142f2bc0d71 /zebra/zserv_null.c
parent78ca62a7b221defb21e4ab724de72b3634132996 (diff)
zebra: build mpls sources the right way
zebra_mpls_null.c should contain only dummy replacements for platform-specific functions that may not be available on some systems (e.g. add/delete LSPs in the kernel). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zserv_null.c')
-rw-r--r--zebra/zserv_null.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/zserv_null.c b/zebra/zserv_null.c
index 972caaeed4..47518f477f 100644
--- a/zebra/zserv_null.c
+++ b/zebra/zserv_null.c
@@ -29,6 +29,13 @@
#include <zebra_vrf.h>
#include <router-id.h>
+int
+zebra_server_send_message(struct zserv *client)
+{ return 0; }
+
+void zserv_create_header (struct stream *s, uint16_t cmd, vrf_id_t vrf_id)
+{ return; }
+
int zsend_vrf_delete (struct zserv *zserv, struct zebra_vrf *zvrf)
{ return 0; }