22 lines
647 B
Plaintext
22 lines
647 B
Plaintext
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;
|