Closed zwhitchcox closed 3 years ago
skip first line and first 3 columns to avoid matching date instead of IPv6 addresses
In order to avoid matching dates when matching IPv6 addresses, I only matched the last field.
Unfortunately, dnsmasq doesn't always print the DNS as the last field per https://github.com/balena-io-modules/device-diagnostics/pull/286#issuecomment-918132277
Instead, simply skip the first line and the first 3 columns which contain the log date.
Change-type: patch
@balena-ci rebase
skip first line and first 3 columns to avoid matching date instead of IPv6 addresses
In order to avoid matching dates when matching IPv6 addresses, I only matched the last field.
Unfortunately, dnsmasq doesn't always print the DNS as the last field per https://github.com/balena-io-modules/device-diagnostics/pull/286#issuecomment-918132277
Instead, simply skip the first line and the first 3 columns which contain the log date.
Change-type: patch