Make VENDOR publicly accessible, it's needed.
authoraland <aland>
Thu, 13 Jul 2006 21:21:04 +0000 (21:21 +0000)
committeraland <aland>
Thu, 13 Jul 2006 21:21:04 +0000 (21:21 +0000)
src/include/libradius.h

index 78a2846..46cf21c 100644 (file)
 #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'); \