Fixes #3351. Suppress the warning message about pcaprub. It's not a big deal at all in Metasploit

Note that while missing pcaprub is fine, loading the wrong versions of pcaprub is still not fine, and raises actual exceptions.



git-svn-id: file:///home/svn/framework3/trunk@11319 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2010-12-13 18:30:42 +00:00
parent d69cff2b34
commit 256d3409d4
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,10 @@ module PacketFu
require "packetfu/capture"
require "packetfu/inject"
else
warn "Warning: Missing pcaprub, cannot load PacketFu::Capture or PacketFu::Inject"
# At this moment, we don't care about missing pcaprub for PacketFu; we do need to deal
# with this eventually if we unseat Racket, but for now, PacketFu is just being used
# to read/write libpcap files, which doesn't require pcaprub.
# warn "Warning: Missing pcaprub, cannot load PacketFu::Capture or PacketFu::Inject"
end
end