summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/log.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2004-07-17 01:07:53 +0000
committerbrian <brian@FreeBSD.org>2004-07-17 01:07:53 +0000
commite2c3152e77cba6cc168ce99880e6b6bef9921e4e (patch)
treeab5f39a58ba0c7341b50358e6076eb6a3977097f /usr.sbin/ppp/log.h
parentbef73337d5e8608eaddc658ba2c44106ab78ded0 (diff)
downloadFreeBSD-src-e2c3152e77cba6cc168ce99880e6b6bef9921e4e.zip
FreeBSD-src-e2c3152e77cba6cc168ce99880e6b6bef9921e4e.tar.gz
Support a ``set rad_alive N'' command to enable periodic RADIUS accounting
information being sent to the RADIUS server. Logging of RADIUS accounting information moves to a ``set log [+-]radius'' level, along with the RADIUS alive info, and the version number is bumped to 3.2 to reflect this. Mostly submitted by: alx@sm.ukrtel.net (back in January) MFC after: 3 weeks
Diffstat (limited to 'usr.sbin/ppp/log.h')
-rw-r--r--usr.sbin/ppp/log.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/usr.sbin/ppp/log.h b/usr.sbin/ppp/log.h
index f3fef65..0da4b8c 100644
--- a/usr.sbin/ppp/log.h
+++ b/usr.sbin/ppp/log.h
@@ -45,16 +45,17 @@
#define LogLQM (15)
#define LogPHASE (16)
#define LogPHYSICAL (17) /* syslog(LOG_INFO, ....) */
-#define LogSYNC (18) /* syslog(LOG_INFO, ....) */
-#define LogTCPIP (19)
-#define LogTIMER (20) /* syslog(LOG_DEBUG, ....) */
-#define LogTUN (21) /* If set, tun%d is output with each message */
-#define LogWARN (22) /* Sent to VarTerm else syslog(LOG_WARNING, ) */
-#define LogERROR (23) /* syslog(LOG_ERR, ....), + sent to VarTerm */
-#define LogALERT (24) /* syslog(LOG_ALERT, ....) */
+#define LogRADIUS (18) /* syslog(LOG_INFO, ....) */
+#define LogSYNC (19) /* syslog(LOG_INFO, ....) */
+#define LogTCPIP (20)
+#define LogTIMER (21) /* syslog(LOG_DEBUG, ....) */
+#define LogTUN (22) /* If set, tun%d is output with each message */
+#define LogWARN (23) /* Sent to VarTerm else syslog(LOG_WARNING, ) */
+#define LogERROR (24) /* syslog(LOG_ERR, ....), + sent to VarTerm */
+#define LogALERT (25) /* syslog(LOG_ALERT, ....) */
-#define LogMAXCONF (21)
-#define LogMAX (24)
+#define LogMAXCONF (22)
+#define LogMAX (25)
struct mbuf;
struct cmdargs;
OpenPOWER on IntegriCloud