View | Details | Raw Unified | Return to bug 240530
Collapse All | Expand All

(-)sys/netgraph/ng_source.c (working copy) (-2 / +2 lines)
Lines 683-690 Link Here
683
static int
683
static int
684
ng_source_start(sc_p sc, uint64_t packets)
684
ng_source_start(sc_p sc, uint64_t packets)
685
{
685
{
686
       if (sc->output_ifp == NULL) {
686
       if (sc->output_ifp == NULL && sc->stats.maxPps == 0) {
687
               printf("ng_source: start without iface configured\n");
687
               printf("ng_source: start without iface or pps configured\n");
688
               return (ENXIO);
688
               return (ENXIO);
689
       }
689
       }
690
690

Return to bug 240530