summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/radius.h
diff options
context:
space:
mode:
authorhosokawa <hosokawa@FreeBSD.org>2002-04-04 08:43:00 +0000
committerhosokawa <hosokawa@FreeBSD.org>2002-04-04 08:43:00 +0000
commitcce077344bcc866ffb03becd934b09729f56f21e (patch)
treea7c7b3bb782616a1d7d7b4f81e65734c3e1b5556 /usr.sbin/ppp/radius.h
parent2abc929acf45e4b1368a06f92fdc395f3fd1fe17 (diff)
downloadFreeBSD-src-cce077344bcc866ffb03becd934b09729f56f21e.zip
FreeBSD-src-cce077344bcc866ffb03becd934b09729f56f21e.tar.gz
Get tun P2P address from the local pool if RADIUS server returned
255.255.255.254 as client ipaddr. Reviewed-By: freebsd-net mailing list
Diffstat (limited to 'usr.sbin/ppp/radius.h')
-rw-r--r--usr.sbin/ppp/radius.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/radius.h b/usr.sbin/ppp/radius.h
index ca54615..152df3f 100644
--- a/usr.sbin/ppp/radius.h
+++ b/usr.sbin/ppp/radius.h
@@ -76,3 +76,6 @@ extern void radius_Account(struct radius *, struct radacct *,
#define RAD_START 1
#define RAD_STOP 2
#endif
+
+/* Get address from NAS pool */
+#define RADIUS_INADDR_POOL htonl(0xfffffffe) /* 255.255.255.254 */
OpenPOWER on IntegriCloud