From 8d3e3ccfd0d0cb82b253f937339d1c6189a2bf54 Mon Sep 17 00:00:00 2001 From: Calin Velea Date: Mon, 9 Apr 2007 15:29:51 -0500 Subject: Appying patch from http://vcalinus.gemenii.ro/quagga-0.99.5-realms.diff --- lib/zclient.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/zclient.c') diff --git a/lib/zclient.c b/lib/zclient.c index a253af61..b6858fab 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -475,6 +475,11 @@ zapi_ipv4_route (u_char cmd, struct zclient *zclient, struct prefix_ipv4 *p, if (CHECK_FLAG (api->message, ZAPI_MESSAGE_METRIC)) stream_putl (s, api->metric); +#ifdef SUPPORT_REALMS + if (CHECK_FLAG (api->message, ZAPI_MESSAGE_REALMTO)) + stream_putw (s, api->realmto); +#endif + /* Put length at the first point of the stream. */ stream_putw_at (s, 0, stream_get_endp (s)); -- cgit v1.2.3