From 8179a28767178fb2b7e2d9b30b88cfd680bbb4d1 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 11 Feb 2010 23:33:40 +0100 Subject: Added formula for tcpflow. "tcpflow is a program that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis or debugging." http://www.circlemud.org/~jelson/software/tcpflow/ Signed-off-by: Adam Vandenberg --- Library/Formula/tcpflow.rb | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Library/Formula/tcpflow.rb (limited to 'Library/Formula') diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb new file mode 100644 index 000000000..bdd9329d4 --- /dev/null +++ b/Library/Formula/tcpflow.rb @@ -0,0 +1,37 @@ +require 'formula' + +class Tcpflow OPEN_MAX) { ++ limit.rlim_max = OPEN_MAX; ++ } ++#endif ++ + /* set the current to the maximum or specified value */ + if (max_desired_fds) + limit.rlim_cur = max_desired_fds; -- cgit v1.2.3