Changeset 8a1fb3c for lib/trace.c


Ignore:
Timestamp:
06/06/06 17:20:35 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
41f22e4
Parents:
3e66b30
Message:

Report a useful error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    re2aebe7 r8a1fb3c  
    706706                return libtrace->format->write_packet(libtrace, packet);
    707707        }
     708        trace_set_err_out(libtrace,TRACE_ERR_UNSUPPORTED,
     709                "This format does not support writing packets");
    708710        return -1;
    709711}
Note: See TracChangeset for help on using the changeset viewer.