Displaying 1 result from an estimated 1 matches for "t_ipv6_dest_addr".
2019 Nov 06
2
[Bug 1378] New: UDP IPv6 destination address not usable
...;inet_pton(): IPv6 unsupported".
This can be fixed by changing the else clause to the same used for other IPv6
options:
diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index a4aa7f5..31109c4 100644
--- a/src/read_config_yy.y
+++ b/src/read_config_yy.y
@@ -467,7 +467,7 @@ udp_option : T_IPV6_DEST_ADDR T_IP
dlog(LOG_WARNING, "%s is not a valid IPv6 address", $2);
free($2);
break;
- } else {
+ } else if (err < 0) {
dlog(LOG_ERR, "inet_pton(): IPv6 unsupported!");
exit(EXIT_FAILURE);...