summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/log.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-03-14 01:46:49 +0000
committerbrian <brian@FreeBSD.org>2000-03-14 01:46:49 +0000
commit3b65c00f328daf0fc8db68d8f715a571e8c6e184 (patch)
tree6c366de9a054a4fb48615320fcc3d96eea3da698 /usr.sbin/ppp/log.c
parenta69e155f87ae5e1b59088d06927f1d02e5fd2518 (diff)
downloadFreeBSD-src-3b65c00f328daf0fc8db68d8f715a571e8c6e184.zip
FreeBSD-src-3b65c00f328daf0fc8db68d8f715a571e8c6e184.tar.gz
Add ``set log dns'' to log DNS QUERY packets.
This is invaluable for dial-on-demand connections... In ppp.linkup: set log -dns -tcp/ip and in ppp.linkdown set log +dns +tcp/ip giving a much better account of why the link came up.
Diffstat (limited to 'usr.sbin/ppp/log.c')
-rw-r--r--usr.sbin/ppp/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/log.c b/usr.sbin/ppp/log.c
index 5fdcdf6..97ab853 100644
--- a/usr.sbin/ppp/log.c
+++ b/usr.sbin/ppp/log.c
@@ -50,6 +50,7 @@ static const char * const LogNames[] = {
"Command",
"Connect",
"Debug",
+ "DNS",
"HDLC",
"ID0",
"IPCP",
OpenPOWER on IntegriCloud