Skip to content

Commit

Permalink
Fix parsing of ipv6 resolvers.
Browse files Browse the repository at this point in the history
Reported by:	@kaworu
  • Loading branch information
vstakhov committed Sep 24, 2014
1 parent 8d80ac7 commit a21b4c0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 167 deletions.
163 changes: 0 additions & 163 deletions .settings/org.eclipse.cdt.core.prefs

This file was deleted.

3 changes: 0 additions & 3 deletions .settings/org.eclipse.cdt.ui.prefs

This file was deleted.

2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ rdns_resolver_conf_process_line (struct rdns_resolver *resolver, char *line)
has_obrace = true;
p ++;
}
if (isxdigit (*p)) {
if (isxdigit (*p) || *p == ':') {
c = p;
while (isxdigit (*p) || *p == ':' || *p == '.') {
p ++;
Expand Down

0 comments on commit a21b4c0

Please sign in to comment.