What steps will reproduce the problem?
1. Have IPv6 address where one group is zero, eg 2001:db8:1234:0:216:3eff:feeb:5dce
2. Run `prosodyctl check`
What is the expected output?
No complaints.
What do you see instead?
example.com AAAA record points to unknown address 2001:db8:1234::216:3eff:feeb:5dce
What version of the product are you using? On what operating system?
Prosody 0.10 nightly build 430 (2017-09-25, 42fad8465537)
Ubuntu 14.04.5 LTS
Please provide any additional information below.
Note how the :0: group gets compressed to ::. This compression should not be done if there is only one group.
What steps will reproduce the problem? 1. Have IPv6 address where one group is zero, eg 2001:db8:1234:0:216:3eff:feeb:5dce 2. Run `prosodyctl check` What is the expected output? No complaints. What do you see instead? example.com AAAA record points to unknown address 2001:db8:1234::216:3eff:feeb:5dce What version of the product are you using? On what operating system? Prosody 0.10 nightly build 430 (2017-09-25, 42fad8465537) Ubuntu 14.04.5 LTS Please provide any additional information below. Note how the :0: group gets compressed to ::. This compression should not be done if there is only one group.
Faulty IPv6 address compressionFaulty IPv6 address compression (prosodyctl check)Fixed in https://hg.prosody.im/0.10/rev/3d21c63ec03f
Changes