diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-05-10 15:13:13 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-05-10 15:13:13 +0000 |
commit | 13645039eec0bf26f9aed9d52ff29bc118df7fb2 (patch) | |
tree | ec46468cc5b3698a363214945d40f041ad0d8db4 | |
parent | 472bcd915ee832eff0a4e7647ca355dd55249457 (diff) |
Use DLT_LOOP instead of DLT_NULL for pcap, to keep track of changes in
tcpdump(8). This repairs the '-L' (cleartext packet capture) option.
-rw-r--r-- | sbin/isakmpd/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/log.c b/sbin/isakmpd/log.c index 304bebd75a0..f05d404a49e 100644 --- a/sbin/isakmpd/log.c +++ b/sbin/isakmpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.27 2002/02/19 19:39:38 millert Exp $ */ +/* $OpenBSD: log.c,v 1.28 2002/05/10 15:13:12 ho Exp $ */ /* $EOM: log.c,v 1.30 2000/09/29 08:19:23 niklas Exp $ */ /* @@ -372,7 +372,7 @@ log_packet_init (char *newname) sf_hdr.thiszone = 0; sf_hdr.snaplen = SNAPLEN; sf_hdr.sigfigs = 0; - sf_hdr.linktype = DLT_NULL; + sf_hdr.linktype = DLT_LOOP; fwrite ((char *)&sf_hdr, sizeof sf_hdr, 1, packet_log); fflush (packet_log); |