dumpcap: typo in pcap_geterr() string comparison

Ping #18332
This commit is contained in:
Chuck Craft 2022-09-09 22:46:32 -05:00
parent 9206c4b8fa
commit 8064d9a721
1 changed files with 1 additions and 1 deletions

View File

@ -4271,7 +4271,7 @@ capture_loop_start(capture_options *capture_opts, gboolean *stats_known, struct
interface_opts->display_name);
secondary_msg = handle_npcap_bug(interface_opts->display_name,
"The interface disappeared (error code ERROR_DEVICE_REMOVED/STATUS_DEVICE_REMOVED)");
} else if (strcmp(cap_err_str, "The other host terminated the connection") == 0) {
} else if (strcmp(cap_err_str, "The other host terminated the connection.") == 0) {
primary_msg = g_strdup(cap_err_str);
secondary_msg = g_strdup("This may be a problem with the "
"remote host on which you are "