forked from osmocom/wireshark
remove some XXX markers in comments which are no (longer) ToDo items
svn path=/trunk/; revision=17715
This commit is contained in:
parent
fe3c3029aa
commit
f8d7cbf654
|
@ -590,11 +590,11 @@ capture_loop_open_input(capture_options *capture_opts, loop_data *ld,
|
||||||
if (ld->cap_pipe_err == PIPNEXIST) {
|
if (ld->cap_pipe_err == PIPNEXIST) {
|
||||||
/* Pipe doesn't exist, so output message for interface */
|
/* Pipe doesn't exist, so output message for interface */
|
||||||
|
|
||||||
/* If we got a "can't find PPA for XXX" message, warn the user (who
|
/* If we got a "can't find PPA for X" message, warn the user (who
|
||||||
is running (T)Ethereal on HP-UX) that they don't have a version
|
is running (T)Ethereal on HP-UX) that they don't have a version
|
||||||
of libpcap that properly handles HP-UX (libpcap 0.6.x and later
|
of libpcap that properly handles HP-UX (libpcap 0.6.x and later
|
||||||
versions, which properly handle HP-UX, say "can't find /dev/dlpi
|
versions, which properly handle HP-UX, say "can't find /dev/dlpi
|
||||||
PPA for XXX" rather than "can't find PPA for XXX"). */
|
PPA for X" rather than "can't find PPA for X"). */
|
||||||
if (strncmp(open_err_str, ppamsg, sizeof ppamsg - 1) == 0)
|
if (strncmp(open_err_str, ppamsg, sizeof ppamsg - 1) == 0)
|
||||||
libpcap_warn =
|
libpcap_warn =
|
||||||
"\n\n"
|
"\n\n"
|
||||||
|
|
|
@ -318,7 +318,7 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg,
|
||||||
capture_opts->buffer_size = get_positive_int(optarg, "buffer size");
|
capture_opts->buffer_size = get_positive_int(optarg, "buffer size");
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case 'c': /* Capture xxx packets */
|
case 'c': /* Capture n packets */
|
||||||
capture_opts->has_autostop_packets = TRUE;
|
capture_opts->has_autostop_packets = TRUE;
|
||||||
capture_opts->autostop_packets = get_positive_int(optarg, "packet count");
|
capture_opts->autostop_packets = get_positive_int(optarg, "packet count");
|
||||||
break;
|
break;
|
||||||
|
@ -330,7 +330,7 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg,
|
||||||
case 'H': /* Hide capture info dialog box */
|
case 'H': /* Hide capture info dialog box */
|
||||||
capture_opts->show_info = FALSE;
|
capture_opts->show_info = FALSE;
|
||||||
break;
|
break;
|
||||||
case 'i': /* Use interface xxx */
|
case 'i': /* Use interface x */
|
||||||
status = capture_opts_add_iface_opt(capture_opts, optarg);
|
status = capture_opts_add_iface_opt(capture_opts, optarg);
|
||||||
if(status != 0) {
|
if(status != 0) {
|
||||||
return status;
|
return status;
|
||||||
|
@ -354,7 +354,7 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg,
|
||||||
case 'S': /* "Real-Time" mode: used for following file ala tail -f */
|
case 'S': /* "Real-Time" mode: used for following file ala tail -f */
|
||||||
capture_opts->real_time_mode = TRUE;
|
capture_opts->real_time_mode = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'w': /* Write to capture file xxx */
|
case 'w': /* Write to capture file x */
|
||||||
#if defined _WIN32 && (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6))
|
#if defined _WIN32 && (GLIB_MAJOR_VERSION > 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION >= 6))
|
||||||
/* since GLib 2.6, we need to convert filenames to utf8 for Win32 */
|
/* since GLib 2.6, we need to convert filenames to utf8 for Win32 */
|
||||||
capture_opts->save_file = g_locale_to_utf8(optarg, -1, NULL, NULL, NULL);
|
capture_opts->save_file = g_locale_to_utf8(optarg, -1, NULL, NULL, NULL);
|
||||||
|
@ -373,7 +373,7 @@ capture_opts_add_opt(capture_options *capture_opts, int opt, const char *optarg,
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#else /* HAVE_PCAP_DATALINK_NAME_TO_VAL */
|
#else /* HAVE_PCAP_DATALINK_NAME_TO_VAL */
|
||||||
/* XXX - just treat it as a number */
|
/* we can't get the type name, just treat it as a number */
|
||||||
capture_opts->linktype = get_natural_int(optarg, "data link type");
|
capture_opts->linktype = get_natural_int(optarg, "data link type");
|
||||||
#endif /* HAVE_PCAP_DATALINK_NAME_TO_VAL */
|
#endif /* HAVE_PCAP_DATALINK_NAME_TO_VAL */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue