| 261 | 261 | "Should be: <priority>:<hostname>")) |
| 262 | 262 | |
| 263 | 263 | |
| 264 | def ipv4_2_ipv6(ipv6_template, ipv4): | |
| 264 | def convert_ipv4_to_ipv6(ipv6_template, ipv4): | |
| 265 | 265 | """Convert IPv4 address string to IPv6 address string.""" |
| 266 | ipv4 = str(ipv4) | |
| 266 | 267 | val_ipv4(ipv4) |
| 267 | 268 | m = ipv4_re.match(ipv4) |
Please
register
or
sign in
to reply
|
||