Changeset 998bee5


Ignore:
Timestamp:
05/02/06 01:25:19 (15 years ago)
Author:
Matt Brown <mattb@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
84a8828
Parents:
c37ab9f
Message:

Fix segfault when attempting to put pcap into blocking mode. Extra deref is
not needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    rca2887e r998bee5  
    224224        }
    225225#ifdef HAVE_PCAP_SETNONBLOCK
    226         pcap_setnonblock(&INPUT.pcap,0,errbuf);
     226        pcap_setnonblock(INPUT.pcap,0,errbuf);
    227227#endif
    228228        return 0; /* success */
Note: See TracChangeset for help on using the changeset viewer.