netty5/resolver-dns/src/main/java/io/netty
Norman Maurer 7931501769 Ignore inline comments when parsing nameservers (#9894)
Motivation:

The resolv.conf file may contain inline comments which should be ignored

Modifications:

- Detect if we have a comment after the ipaddress and if so skip it
- Add unit test

Result:

Fixes https://github.com/netty/netty/issues/9889
2019-12-18 21:14:17 +01:00
..
resolver/dns Ignore inline comments when parsing nameservers (#9894) 2019-12-18 21:14:17 +01:00