rtnetlink icon indicating copy to clipboard operation
rtnetlink copied to clipboard

Rename CacheInfo Prefered

Open SuperQ opened this issue 1 year ago • 1 comments

The CacheInfo struct in address.go has a misspelled variable, Prefered. This should be Preferred.

This is a breaking change, not sure how this should be handled here.

SuperQ avatar Nov 27 '23 13:11 SuperQ

I guess it depends on whether CacheInfo.Prefered is really used. It is such a deep attribute, I doubt many people actually use it.

Otoh, to be safe, a major version upgrade would be required.

I'll see if I can get some info out of the github SBOM interface and check if any github hosted projects use that attribute.

jsimonetti avatar Nov 27 '23 13:11 jsimonetti