aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-28 16:14:34 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-28 16:14:34 +0000
commitb64ebb05c29f5362ac8fa8fe182dfbe3c571eead (patch)
treefd47328869577ae2c2e1a7bf8f0ead5dad5b58be /capture_opts.c
parent131ab36a3257aec679019b7877fcf5055f9e3bca (diff)
fix Solaris build (I've removed O_BINARY)
rename sync_mode to real_time_mode, as we using sync_mode all the time now, so the name is misleading svn path=/trunk/; revision=13956
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/capture_opts.c b/capture_opts.c
index ddcea18f5c..ac57549b49 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -60,7 +60,7 @@ capture_opts_init(capture_options *capture_opts, void *cfile)
capture_opts->promisc_mode = TRUE; /* promiscuous mode is the default */
capture_opts->linktype = -1; /* the default linktype */
capture_opts->save_file = NULL;
- capture_opts->sync_mode = TRUE;
+ capture_opts->real_time_mode = TRUE;
capture_opts->show_info = TRUE;
capture_opts->quit_after_cap = FALSE;
@@ -98,7 +98,7 @@ capture_opts_info(capture_options *capture_opts) {
g_warning("Promisc : %u", capture_opts->promisc_mode);
g_warning("LinkType : %d", capture_opts->linktype);
g_warning("SaveFile : %s", capture_opts->save_file);
- g_warning("SyncMode : %u", capture_opts->sync_mode);
+ g_warning("RealTimeMode : %u", capture_opts->real_time_mode);
g_warning("ShowInfo : %u", capture_opts->show_info);
g_warning("QuitAfterCap : %u", capture_opts->quit_after_cap);
@@ -267,8 +267,8 @@ capture_opts_add_opt(capture_options *capture_opts, const char *appname, int opt
capture_opts->has_snaplen = TRUE;
capture_opts->snaplen = get_positive_int(appname, optarg, "snapshot length");
break;
- case 'S': /* "Sync" mode: used for following file ala tail -f */
- capture_opts->sync_mode = TRUE;
+ case 'S': /* "Real-Time" mode: used for following file ala tail -f */
+ capture_opts->real_time_mode = TRUE;
break;
case 'w': /* Write to capture file xxx */
capture_opts->save_file = g_strdup(optarg);