summaryrefslogtreecommitdiff
path: root/zebra/zserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r--zebra/zserv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index ea4c769fa5..9d05a3b9df 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -2396,10 +2396,14 @@ zebra_client_read (struct thread *thread)
zebra_ptm_bfd_client_register(client, sock, length);
break;
case ZEBRA_INTERFACE_ENABLE_RADV:
+#if defined (HAVE_RTADV)
zebra_interface_radv_set (client, sock, length, zvrf, 1);
+#endif
break;
case ZEBRA_INTERFACE_DISABLE_RADV:
+#if defined (HAVE_RTADV)
zebra_interface_radv_set (client, sock, length, zvrf, 0);
+#endif
break;
case ZEBRA_MPLS_LABELS_ADD:
case ZEBRA_MPLS_LABELS_DELETE: