From bdec4ae9015186366ddc2bb1b42406bf6cbb7350 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 17 Aug 2010 17:17:44 +0000 Subject: [PATCH] Change the error message referring to SOCK_PACKET on Linux so it refers to PACKET instead. That appears to be the current option name as reported by Colin Beckingham. I checked just now with "make menuconfig" in 2.6.34.1. --- output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output.h b/output.h index 347cbd3ab..5e69af52c 100644 --- a/output.h +++ b/output.h @@ -115,7 +115,7 @@ #define PCAP_OPEN_ERRMSG "Call to pcap_open_live() failed three times. "\ "There are several possible reasons for this, depending on your operating "\ "system:\nLINUX: If you are getting Socket type not supported, try "\ -"modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.\n "\ +"modprobe af_packet or recompile your kernel with PACKET enabled.\n "\ "*BSD: If you are getting device not configured, you need to recompile "\ "your kernel with Berkeley Packet Filter support. If you are getting "\ "No such file or directory, try creating the device (eg cd /dev; "\