Controller instantiation in trireme-example/triremecli/cli.go: line 102
// Initialize the controllers
ctrl := controller.New("ExampleNode", controllerOptions...)
But the new lib library new is not the same as the latest lib library config structure field.
before:
now:
Why is this field necessary? I think controller.New() --> newTrireme(c) --> t.newEnforcers() -> enforcer.New() --> nfqdatapath.New(***) --> d.SetTargetNetworks(cfg) --> cfg.TCPTargetNetworks This throws a pannic. Because cfg is nil. This is when the config structure is instantiated, no assignment is made.
Controller instantiation in trireme-example/triremecli/cli.go: line 102 // Initialize the controllers ctrl := controller.New("ExampleNode", controllerOptions...)
But the new lib library new is not the same as the latest lib library config structure field.
before: now:
Why is this field necessary? I think controller.New() --> newTrireme(c) --> t.newEnforcers() -> enforcer.New() --> nfqdatapath.New(***) --> d.SetTargetNetworks(cfg) --> cfg.TCPTargetNetworks This throws a pannic. Because cfg is nil. This is when the config structure is instantiated, no assignment is made.