Skip to content

Commit

Permalink
* src/ne_session.c (set_hostinfo): Fix regression in 532ba27
Browse files Browse the repository at this point in the history
  for non-scoped IPv6 literal addresses.
  • Loading branch information
notroj committed Aug 1, 2024
1 parent 532ba27 commit d5685d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ne_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static void set_hostinfo(struct host_info *hi, enum proxy_type type,
if (!ia && hlen >= V6_ADDR_MINLEN
&& hi->hostname[0] == '[' && hi->hostname[hlen-1] == ']') {
const char *v6end, *v6start = hi->hostname + 1;
char *v6lit, *scope;
char *v6lit, *scope = NULL;

/* Parse here, see if there is a Zone ID:
* IPv6addrzb => v6start = IPv6address "%25" ZoneID */
Expand Down

0 comments on commit d5685d5

Please sign in to comment.