diff options
author | Calin Velea <vcalinus@gemenii.ro> | 2007-04-09 15:29:51 -0500 |
---|---|---|
committer | Jeffrey C. Ollie <jeff@ocjtech.us> | 2007-04-09 15:29:51 -0500 |
commit | 8d3e3ccfd0d0cb82b253f937339d1c6189a2bf54 (patch) | |
tree | b8bc9ff4aad0c8e7933e91895f6f3cf7d93f8e24 /lib/zclient.h | |
parent | c15deb1b7428a2baedfb615b1a41fe28d48c598c (diff) | |
download | quagga-8d3e3ccfd0d0cb82b253f937339d1c6189a2bf54.tar.bz2 quagga-8d3e3ccfd0d0cb82b253f937339d1c6189a2bf54.tar.xz |
Appying patch from http://vcalinus.gemenii.ro/quagga-0.99.5-realms.diffquagga-0.99.5-realms.diff
Diffstat (limited to 'lib/zclient.h')
-rw-r--r-- | lib/zclient.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 69ada144..749f1182 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -87,6 +87,10 @@ struct zclient #define ZAPI_MESSAGE_DISTANCE 0x04 #define ZAPI_MESSAGE_METRIC 0x08 +#ifdef SUPPORT_REALMS + #define ZAPI_MESSAGE_REALMTO 0x10 +#endif + /* Zserv protocol message header */ struct zserv_header { @@ -117,6 +121,9 @@ struct zapi_ipv4 u_char distance; u_int32_t metric; +#ifdef SUPPORT_REALMS + u_int16_t realmto; +#endif }; /* Prototypes of zebra client service functions. */ |