From: aland Date: Thu, 13 Jul 2006 21:21:04 +0000 (+0000) Subject: Make VENDOR publicly accessible, it's needed. X-Git-Tag: release_2_0_0_pre1~524 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=03f1842e2c208b36d35287b4f5dd0c9d43d7e5ea;p=freeradius.git Make VENDOR publicly accessible, it's needed. --- diff --git a/src/include/libradius.h b/src/include/libradius.h index 78a2846..46cf21c 100644 --- a/src/include/libradius.h +++ b/src/include/libradius.h @@ -91,12 +91,13 @@ #define CHAP_VALUE_LENGTH 16 #define MAX_STRING_LEN 254 /* RFC2138: string 0-253 octets */ +# define VENDOR(x) ((x >> 16) & 0x7fff) + #ifdef _LIBRADIUS # define AUTH_HDR_LEN 20 # define VENDORPEC_USR 429 #define VENDORPEC_LUCENT 4846 #define VENDORPEC_STARENT 8164 -# define VENDOR(x) ((x >> 16) & 0x7fff) # define DEBUG if (librad_debug) printf # define debug_pair(vp) do { if (librad_debug) { \ putchar('\t'); \