Changeset 104

Show
Ignore:
Timestamp:
13.12.2002 20:11:39 (6 years ago)
Author:
tibob
Message:

Fixed a segfault when reading data from file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/init.c

    r101 r104  
    203203  TestLogs(); 
    204204 
    205   if (NULL == device) { 
     205  if (NULL == device && Options.ReadFromFile != NULL) { 
    206206    device = xstrdup(pcap_default_device()); 
    207207  }