FreeBSD Bugzilla – Attachment 207415 Details for
Bug 240530
netgraph/ng_source: Allow ng_source to inject into any netgraph network
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to ng_source in 12-STABLE train
file_240530.txt (text/plain), 585 bytes, created by
Lutz Donnerhacke
on 2019-09-12 10:26:14 UTC
(
hide
)
Description:
patch to ng_source in 12-STABLE train
Filename:
MIME Type:
Creator:
Lutz Donnerhacke
Created:
2019-09-12 10:26:14 UTC
Size:
585 bytes
patch
obsolete
>Index: sys/netgraph/ng_source.c >=================================================================== >--- sys/netgraph/ng_source.c (revision 351934) >+++ sys/netgraph/ng_source.c (working copy) >@@ -683,8 +683,8 @@ > static int > ng_source_start(sc_p sc, uint64_t packets) > { >- if (sc->output_ifp == NULL) { >- printf("ng_source: start without iface configured\n"); >+ if (sc->output_ifp == NULL && sc->stats.maxPps == 0) { >+ printf("ng_source: start without iface or pps configured\n"); > return (ENXIO); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 240530
:
207415