commit | cc4d1716a2e72516c2505a6459a9ddbbfb186da2 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@arpalert.org> | Fri Jul 24 09:04:56 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Aug 11 14:14:10 2015 +0200 |
tree | 6cca74681b8010f343228132d91455830f118b40 | |
parent | fd7edd3968bc52e919dd85309b456a8bf9c7c27d [diff] |
MINOR: sample: Add ipv6 to ipv4 and sint to ipv6 casts The RFC4291 says that when the IPv6 adress have the followin form: 0000::ffff:a.b.c.d, if can be converted to an IPv4 adress. This patch enable this conversion in casts. As the sint can be casted as ipv4, and ipv4 can be casted as ipv6, we can directly cast sint as ipv6 using the RFC4291.