summaryrefslogtreecommitdiff
path: root/net/mgen/files/patch-common_mgenApp.cpp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-11-04 23:39:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-11-04 23:39:51 +0000
commitf67e946c8e1d62692778d227d882d2410ea74984 (patch)
tree961254815010d828504544f9135b37a82592d30b /net/mgen/files/patch-common_mgenApp.cpp
parent- Update to 0.4.9 (diff)
Add mgen, The Multi-Generator, an open source software by the Naval Research
Laboratory (NRL) PROTocol Engineering Advanced Networking (PROTEAN) Research Group. MGEN provides the ability to perform IP network performance tests and measurements using UDP/IP traffic (TCP is currently being developed). PR: ports/73532 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Notes
Notes: svn path=/head/; revision=120823
Diffstat (limited to 'net/mgen/files/patch-common_mgenApp.cpp')
-rw-r--r--net/mgen/files/patch-common_mgenApp.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/mgen/files/patch-common_mgenApp.cpp b/net/mgen/files/patch-common_mgenApp.cpp
new file mode 100644
index 000000000000..98e761298f0d
--- /dev/null
+++ b/net/mgen/files/patch-common_mgenApp.cpp
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- common/mgenApp.cpp.orig
++++ common/mgenApp.cpp
+@@ -221,7 +221,7 @@
+ nextCmd++;
+ }
+ return type;
+-}; // end MgenApp::GetCmdType()
++} // end MgenApp::GetCmdType()
+
+ bool MgenApp::ProcessCommands(int argc, const char*const* argv)
+ {
+@@ -1388,6 +1388,6 @@
+ } // end MgenStreamSource::Read()
+
+ // This macro instantiates our MgenApp instance
+-PROTO_INSTANTIATE_APP(MgenApp);
++PROTO_INSTANTIATE_APP(MgenApp)
+
+