Closed ericschdt closed 3 years ago
I guess it would sense if all variables do have meaningful initial/default values. Maybe unit tests would also help to discover those issues? :)
you're right, added them in https://github.com/opnsense/core/commit/43b50ed086ad34050a42f1afd0a1437f35693e9b
Important notices [x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md [x] I have searched the existing issues and I'm convinced that mine is new. [x] The title contains the plugin to which this issue belongs
Describe the bug Basically the same as https://github.com/opnsense/core/issues/4735 I changed Netflow v9 to v5 and then pressed on the "refresh button" in the "service" widget on the lobby page, which resulted in
Location of the error https://github.com/opnsense/core/blob/de291e62660996b04d589381cad3396db5e9eb80/src/opnsense/scripts/netflow/lib/aggregates/source.py#L107
Environment OPNsense 21.1.2-amd64 FreeBSD 12.1-RELEASE-p13-HBSD OpenSSL 1.1.1j 16 Feb 2021