SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,21 @@
Index: main.cc
--- main.cc.orig
+++ main.cc
@@ -292,7 +292,7 @@ char *GetAddressFamily()
//
// Output: ASCII representation of network protocol name.
//
-char *GetPrintableNetworkProtocol(NetworkProtocolType np)
+const char *GetPrintableNetworkProtocol(NetworkProtocolType np)
{
switch (np) {
case (NetworkProtocolIpv4Udp):
@@ -371,7 +371,7 @@ int main(int argc, char **argv)
case 'b': {
Burst = atoi(optarg);
if (Burst < 1) {
- fprintf(stderr, "Warning: burst size %d too small; resetting to 1\n");
+ fprintf(stderr, "Warning: burst size %d too small; resetting to 1\n", Burst);
Burst = 1;
}
break;