ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit 76ee7f3ae9e6d39f059365283d68bc369c6069e2
parent 6fd527a825711e0d65f88f352f2b24c10d48335d
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Tue, 26 Jun 2001 16:54:15 +0000

added debug output to unsupported interface type error message

Diffstat:
Mngrep.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ngrep.c b/ngrep.c @@ -385,7 +385,7 @@ int main(int argc, char **argv) { break; default: - fprintf(stderr, "fatal: unsupported interface type\n"); + fprintf(stderr, "fatal: unsupported interface type %d\n", pcap_datalink(pd)); clean_exit(-1); }