update config.c

use 4 space other than tab.
dev
jin.hao1 2020-01-07 21:04:17 +08:00 committed by GitHub
parent 64a2908183
commit bb6dcc1c33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -815,9 +815,9 @@ ff_check_config(struct ff_config *cfg)
}
if ( cfg->pcap.save_len < PCAP_SAVE_MINLEN )
cfg->pcap.save_len = PCAP_SAVE_MINLEN;
if (cfg->pcap.snap_len < PCAP_SNAP_MINLEN)
cfg->pcap.snap_len = PCAP_SNAP_MINLEN;
cfg->pcap.save_len = PCAP_SAVE_MINLEN;
if (cfg->pcap.snap_len < PCAP_SNAP_MINLEN)
cfg->pcap.snap_len = PCAP_SNAP_MINLEN;
if ( cfg->pcap.save_path==NULL || strlen(cfg->pcap.save_path) ==0)
cfg->pcap.save_path = strdup(".");