#define PW_CHAP_PASSWORD 3
#define PW_NAS_IP_ADDRESS 4
#define PW_NAS_PORT 5
-/*
- * FIXME: We should remove this...
- */
-#define PW_NAS_PORT_ID 5
#define PW_SERVICE_TYPE 6
#define PW_FRAMED_PROTOCOL 7
#define PW_FRAMED_IP_ADDRESS 8
switch (vp->type) {
case PW_TYPE_STRING:
- if (vp->attribute == PW_NAS_PORT_ID)
+ /*
+ * NAS-Port may have multiple integer values?
+ * This is an internal server extension...
+ */
+ if (vp->attribute == PW_NAS_PORT)
a = (char *)vp->strvalue;
else {
if (delimitst && vp->flags.has_tag) {