diff options
author | brian <brian@FreeBSD.org> | 2000-03-14 01:46:49 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-14 01:46:49 +0000 |
commit | 3b65c00f328daf0fc8db68d8f715a571e8c6e184 (patch) | |
tree | 6c366de9a054a4fb48615320fcc3d96eea3da698 /usr.sbin/ppp/log.c | |
parent | a69e155f87ae5e1b59088d06927f1d02e5fd2518 (diff) | |
download | FreeBSD-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.c | 1 |
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", |