summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r--zebra/zserv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index 1703d3f5..1713c536 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -803,6 +803,12 @@ zread_ipv4_add (struct zserv *client, u_short length)
/* Table */
rib->table=zebrad.rtm_table_default;
+#ifdef SUPPORT_REALMS
+ if (CHECK_FLAG (message, ZAPI_MESSAGE_REALMTO))
+ rib->realmto = stream_getw (s);
+ else
+ rib->realmto = 0;
+#endif
rib_add_ipv4_multipath (&p, rib);
return 0;
}