Closed dpino closed 5 years ago
Example:
$ sudo ./snabb lwaftr run --name lwaftr --cpu 10 --conf lwaftr-64k.conf --on-a-stick 82:00.0
lwaftr-64k.conf: loading compiled configuration from lwaftr-64k.o
lwaftr-64k.conf: compiled configuration is out of date; recompiling.
lwaftr-64k.conf: loading source configuration
queue1 {
^
lwaftr-64k.conf:64049:12: error: unrecognized parameter: queue1
The file name is available as stream.io.filename
, so no need to plumb around. Probably we should add a method on stream to return it. WDYT?
OK, I amended the patches to add a stream:filename()' method and use it from Parser, instead of passing
filename` around.
Fixes #1020