Open 991jo opened 1 year ago
Thank you for the report and apologies for the embarrassingly late response.
Unfortunately, these line numbers are generated in an underlying library and not easily fixable. I switched to a newer version but now it just says “line 1 column 1” all the time.
So we will need to redo the configuration parsing as part of the next release.
I am running rtrtr v0.2.2 on Debian 11.
I have a small config file with an "invalid IP address" for the
http-listen
directive, that uses a domain instead of an address:When I execute it, rtrtr says:
However line 17 is not the
http-listen
directive, it is thetargets.default
block which leads a user to believe that the IP address in the listen directive in the target is invalid. I would have expected something likeinvalid IP address syntax at line 6
where the actual wrong directive is.